summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0695-3.cs
blob: d352d9936b3c3f34ed3b873639a514cdd65be370 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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>>
{ }