14 lines
228 B
C#
Raw Normal View History

// CS0533: `DerivedClass.Foo' hides inherited abstract member `BaseClass.Foo()'
// Line: 11
abstract public class BaseClass
{
abstract protected void Foo ();
}
abstract class DerivedClass: BaseClass
{
public new int Foo;
}