12 lines
210 B
C#
12 lines
210 B
C#
|
// 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>>
|
||
|
{ }
|