summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0695-2.cs
blob: 791967c8ba6cf470cba6124c2a740c38c6f99fd2 (plain)
1
2
3
4
5
6
7
8
// CS0695: `A<X,Y,Z>' cannot implement both `I<X>' and `I<A<Y,Y,Z>>' because they may unify for some type parameter substitutions
// Line: 7

interface I<X>
{ }

class A<X,Y,Z> : I<X>, I<A<Y,Y,Z>>
{ }