2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0108-7.cs
blob9de592b82fd0dfa3803c0b3c928320a9045af668
1 // cs0108-7.cs: `Derived.Prop(bool)' hides inherited member `Base.Prop'. Use the new keyword if hiding was intended
2 // Line: 13
3 // Compiler options: -warnaserror -warn:2
5 class Base {
6 public bool Prop = false;
9 class Derived : Base {
10 public void Prop (bool b) {}