* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / errors / cs0115-4.cs
1 // cs0115-4.cs: `DerivedClass.get_Value()': no suitable method found to override
2 // Line: 13
3
4 class BaseClass {
5         protected virtual int Value { 
6                 get {
7                         return 0;
8                 }
9         }
10 }
11
12 class DerivedClass: BaseClass {
13         protected override int get_Value () {
14                 return 1;
15         }
16
17         static void Main () {}
18 }