update
[mono.git] / mcs / errors / cs0108-4.cs
1 // cs0108.cs: The new keyword is required on 'Derived.Prop(int)' because it hides inherited member
2 // Line: 13
3
4 class Base {
5         public void Prop (int a) {}
6 }
7
8 class Derived : Base {
9         public int Prop {
10             get {
11                 return 0;
12             }
13         }
14 }