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: 36b416a7daaded5d6a8b3f31e61814409f55c352 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// cs0108-9.cs: `Outer.Inner' hides inherited member `Base.Inner'. Use the new keyword if hiding was intended
// Line: 13
// Compiler options: -warnaserror -warn:2

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

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