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

gtest-035.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 73febabcdc80b17b2f712daee9fbdc3dc80e0a97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// May use a constructed type as constraint.

class Test<T>
{ }

class Foo<T>
	where T : Test<T>
{ }

class X
{
	public static void Main ()
	{
	}
}