2005-06-05 Peter Bartok <pbartok@novell.com>
[mono.git] / mcs / errors / cs0108-5.cs
1 // cs0108.cs: The new keyword is required on 'Derived.Prop' because it hides inherited member
2 // Line: 10
3 // Compiler options: -warnaserror -warn:2
4
5 class Base {
6         public bool Prop = false;
7 }
8
9 class Derived : Base {
10         public int Prop {
11             get {
12                 return 0;
13             }
14         }
15 }