Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0502.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1a578596c8bb9b5b2addf6f66073c03a941f65d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
// cs0502.cs: '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 () {}
}