a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
15 lines
235 B
C#
15 lines
235 B
C#
// 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>>
|
|
{
|
|
}
|