a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
12 lines
156 B
C#
12 lines
156 B
C#
// CS1961: The contravariant type parameter `T' must be invariantly valid on `B<T>.C()'
|
|
// Line: 8
|
|
|
|
interface A<T>
|
|
{
|
|
}
|
|
|
|
interface B<in T>
|
|
{
|
|
A<A<T>> C();
|
|
}
|