summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0307.cs
blob: d73dec8c6b383e91e2c426b9afd53948c6e6c4fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// CS0307: The property `B.Get' cannot be used with type arguments
// Line: 14
public class B
{
	public virtual int Get {
		get { return 3; }
	}
}

public class A : B
{
	public override int Get {
		get {
			return base.Get<int>;
		}
	}

	public static void Main ()
	{
	}
}