summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0455-2.cs
blob: 5bbf56f2bea9f7ab0e9055824ff57539dea5671b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0455: Type parameter `V' inherits conflicting constraints `B' and `A'
// Line: 13

class A
{ }

class B
{ }

class Foo<T,U, V>
	where T : A
	where U : B
	where V : U, T
{
}