Class not emitted when hierarchy contains hidden final members
Brought to you by:
jfrijters
Hello,
I found this case where a class hierarchy defined as such:
public class Base{
public final object Property{ get; set; }
}
public class Derived1: Base{
public new object Property{ get; set }
}
Cannot be inherited from a java class, such that ikvmc notifies with warning IKVMC0104 noting that final method get_Property() defined in Base is overriden in Derived1 and the resulting assembly doesn't contain the classes inheriting Derived1.
Is this a bug, or is there a workaround for this situation?
Thanks.
IKVMC0104 is a verification error, which probably means that you tried to override a .NET method that isn't virtual, that obviously isn't possible