Initial set of Ward sgen annotations (#5705)
[mono.git] / mcs / errors / cs0307.cs
1 // CS0307: The property `B.Get' cannot be used with type arguments
2 // Line: 14
3 public class B
4 {
5         public virtual int Get {
6                 get { return 3; }
7         }
8 }
9
10 public class A : B
11 {
12         public override int Get {
13                 get {
14                         return base.Get<int>;
15                 }
16         }
17
18         public static void Main ()
19         {
20         }
21 }