summaryrefslogtreecommitdiff
path: root/mcs/tests/gtest-partial-03.cs
blob: 177fa4862ae1180f49d662a0e9b7624c899bd79f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using System.Collections.Generic;

class Variable
{
}

internal partial class Test<T>
{
}

internal partial class Test<T> where T : IList<Variable>
{
	public Test (T t)
	{
		var val = t.Count;
	}
}

internal partial class Test<T>
{
}

class CC
{
	public static void Main ()
	{
		new Test<List<Variable>> (new List<Variable> ());
	}
}