3c1f479b9d
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
37 lines
458 B
C#
37 lines
458 B
C#
// Compiler options: -doc:xml-071.xml
|
|
|
|
namespace N
|
|
{
|
|
public class G<U>
|
|
{
|
|
}
|
|
}
|
|
|
|
interface X<out TOutput>
|
|
{
|
|
TOutput Consume (Y<TOutput> a);
|
|
}
|
|
|
|
interface Y<in TInput>
|
|
{
|
|
}
|
|
|
|
interface Z<in TInput, out TOutput> : Y<TInput>, X<TOutput>
|
|
{
|
|
}
|
|
|
|
class Test<T> : Z<T, N.G<T[][,,]>>
|
|
{
|
|
/// <summary>This is the consume method.</summary>
|
|
N.G<T[][,,]> X<N.G<T[][,,]>>.Consume (Y<N.G<T[][,,]>> target)
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
class Program
|
|
{
|
|
static void Main ()
|
|
{
|
|
}
|
|
} |