summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0307-5.cs
blob: 6fa38ba3026249d0a83bf07ef6602ab382889c02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// CS0307: The property `Test<T,U>.Value' cannot be used with type arguments
// Line: 16

class Test<T, U>
{
	public object Value {
		get { return null; }
	}

	public class B
	{
		public B (object arg)
		{
		}
		
		public static B Default = new B (Value<U>.Default);
	}
}