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

gtest-469.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d7b293e75d5aa79e04f5354cdc3d8905686b72f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
interface I<T>
{
}

class Foo<T1, T2> where T2 : I<I<T1>>
{
	public Foo (T2 t2)
	{
	}
}

class Bar : I<I<string>>
{
	public static int Main ()
	{
		var foo = new Foo<string, Bar> (new Bar ());
		return 0;
	}
}