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

gcs0455.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 44aefafdc4aec7f3c2e05c5a2a7e6d6ba5f53225 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// CS0455: Type parameter `T' inherits conflicting constraints `Test' and `World'
// Line: 13
using System;

class Test
{ }

class World
{ }

class Foo<T,U>
	where T : Test, U
	where U : World
{ }

class X
{
	static void Main ()
	{ }
}