**** Merged r40732-r40872 from MCS ****
[mono.git] / mcs / errors / cs0108-6.cs
1 // cs0108.cs: The new keyword is required on 'Derived.Prop' because it hides inherited member
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 }