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

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

class Base {
	public bool Prop = false;
}

class Derived : Base {
        public void Prop (bool b) {}
}