summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0695-5.cs
blob: 3b962628625b8b33c30fa40a5e040daa727b8712 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0695: `C<T1,T2>' cannot implement both `IA<T1>' and `IB<IA<T2>>' because they may unify for some type parameter substitutions
// Line: 12

interface IA<T>
{
}

interface IB<T> : IA<T>
{
}

class C<T1, T2> : IA<T1>, IB<IA<T2>>
{
}