It would be nice to have the original new keyword present in the exported code.
Original:
public abstract class Class3Base
{
public static string SomeStaticMethod()
{
return String.Empty;
}
public Class3Base Instance
{
get { return null; }
}
}
public class Class3 : Class3Base
{
public static new string SomeStaticMethod()
{
return String.Empty;
}
public new Class3 Instance
{
get { return null; }
}
}
Exported result (compiler warning to use the new keyword):
public abstract class Class3Base
{
protected Class3Base()
{
}
public static string SomeStaticMethod()
{
return string.Empty;
}
public Class3Base Instance
{
get
{
return null;
}
}
}
public class Class3 : Class3Base
{
public static string SomeStaticMethod()
{
return string.Empty;
}
public Class3 Instance
{
get
{
return null;
}
}
}
Original:
Exported result (compiler warning to use the new keyword):