12 lines
161 B
C#
Raw Normal View History

// 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; }
}