summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0405.cs
blob: 013dd8ced40bd3779d16578b7c9fd11b45cdeb5b (plain)
1
2
3
4
5
6
7
8
9
// CS0405: Duplicate constraint `I' for type parameter `T'
// Line: 8

interface I { }

class Foo<T>
	where T : I, I
{
}