linux-packaging-mono/mcs/tests/test-xml-071.cs
Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

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 ()
{
}
}