a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
13 lines
281 B
C#
13 lines
281 B
C#
// CS0533: `DerivedClass.Foo()' hides inherited abstract member `BaseClass.Foo()'
|
|
// Line: 9
|
|
|
|
abstract public class BaseClass {
|
|
abstract protected void Foo ();
|
|
}
|
|
|
|
abstract class DerivedClass: BaseClass {
|
|
public new void Foo () {}
|
|
public static void Main () {}
|
|
}
|
|
|