12 lines
210 B
C#
Raw Normal View History

// CS0695: `C<X,Y>' cannot implement both `I<X>' and `I<K<Y>>' because they may unify for some type parameter substitutions
// Line: 10
interface I<X>
{ }
interface K<X>
{ }
class C<X,Y> : I<X>, I<K<Y>>
{ }