12 lines
161 B
C#
12 lines
161 B
C#
|
// CS1961: The contravariant type parameter `T' must be covariantly valid on `B<T>.A'
|
||
|
// Line: 8
|
||
|
|
||
|
interface A<out T>
|
||
|
{
|
||
|
}
|
||
|
|
||
|
interface B<in T>
|
||
|
{
|
||
|
A<T> A { get; }
|
||
|
}
|