a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
13 lines
219 B
C#
13 lines
219 B
C#
// CS0695: `C<T,U>' cannot implement both `A<T>.IB' and `A<U>.IB' because they may unify for some type parameter substitutions
|
|
// Line: 11
|
|
|
|
class A<T>
|
|
{
|
|
public interface IB
|
|
{
|
|
}
|
|
}
|
|
|
|
class C<T, U> : A<T>.IB, A<U>.IB
|
|
{
|
|
} |