14 lines
228 B
C#
14 lines
228 B
C#
|
// 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;
|
||
|
}
|
||
|
|