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

cs0108-9.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 677681374af0c69a69f743aa176be5ff1132fba0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// cs0108.cs: The new keyword is required on 'Outer.Inner' because it hides inherited member
// Line: 13
// Compiler options: -warnaserror -warn:2

public class Base
{
    public int Inner { set { } }
}

class Outer: Base
{
    public void M () {}
    
    public class Inner
    {
    }
}