12 lines
153 B
C#
12 lines
153 B
C#
|
// CS1961: The covariant type parameter `T' must be invariantly valid on `B<T>.C()'
|
||
|
// Line: 8
|
||
|
|
||
|
interface A<T>
|
||
|
{
|
||
|
}
|
||
|
|
||
|
interface B<out T>
|
||
|
{
|
||
|
A<A<T>> C();
|
||
|
}
|