summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0455-6.cs
blob: 62b9bd31a29071dd6e3a4a13b35d38e6f29cd45c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// CS0455: Type parameter `T3' inherits conflicting constraints `X' and `Y'
// Line: 15

class X
{
}

class Y
{
}

class C<T1, T2, T3, T4>
	where T1 : X
	where T2 : T1
	where T3 : Y, T4
	where T4 : T2
{
}