12 lines
153 B
C#
12 lines
153 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<T> C();
|
||
|
}
|