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

cs0108-10.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fa67e2bb5c03df8fccc7193abb105ba1e685c7de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// cs0108-10.cs: `Derived.EE' hides inherited member `Base.EE'. Use the new keyword if hiding was intended
// Line: 12
// Compiler options: -warnaserror -warn:2

class Base {
	public enum EE {
            Item
        };
}

class Derived : Base {
        public int EE;
}