a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
12 lines
214 B
C#
12 lines
214 B
C#
// CS0502: `Main.Test()' cannot be both abstract and sealed
|
|
// Line: 10
|
|
|
|
abstract class Base {
|
|
public abstract void Test ();
|
|
}
|
|
|
|
abstract class Main: Base
|
|
{
|
|
public abstract sealed override void Test () {}
|
|
}
|