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: c533aaa356a2da10680687733e024fd4ff84723c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// cs0108.cs: The new keyword is required on 'Derived.EE' because it hides inherited member
// Line: 12
// Compiler options: -warnaserror -warn:2

class Base {
	public enum EE {
            Item
        };
}

class Derived : Base {
        public int EE;
}