summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0108-7.cs
blob: 83adb25f1b029ef58cdbae7394202f27e9ae130f (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS0108: `Derived.Prop(bool)' hides inherited member `Base.Prop'. Use the new keyword if hiding was intended
// Line: 13
// Compiler options: -warnaserror -warn:2

class Base {
	public bool Prop = false;
}

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