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

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

interface I
{
	void Foo<T> () where T : G<T>;
}

class A : I
{
	public void Foo<U> () where U : G<U>
	{
	}

	public static void Main ()
	{
	}
}