Initial set of Ward sgen annotations (#5705)
[mono.git] / mcs / errors / cs0108-6.cs
1 // CS0108: `Derived.Prop' hides inherited member `Base.Prop'. Use the new keyword if hiding was intended
2 // Line: 14
3 // Compiler options: -warnaserror -warn:2
4
5 class Base {
6         public int Prop {
7             get {
8                 return 0;
9             }
10         }    
11 }
12
13 class Derived : Base {
14         public bool Prop = false;
15 }