Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gcs0307.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d06a74472b4e80cbcbcb03eb6ca3c32cb3b56f05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// CS0307: `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 ()
	{
	}
}