Merge branch 'master' of github.com:mono/mono
[mono.git] / mcs / errors / cs0108-7.cs
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
4
5 class Base {
6         public bool Prop = false;
7 }
8
9 class Derived : Base {
10         public void Prop (bool b) {}
11 }