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

interface I<X>
{ }

interface K<X>
{ }

class C<X,Y> : I<K<Y>>, I<X>
{ }