linux-packaging-mono/mcs/tests/gtest-232-lib.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

42 lines
518 B
C#

// Compiler options: -t:library
public class A<T>
{
public class B<U>
{
public class C<V>
{
public T T;
public U U;
}
}
public class B2
{
public T T;
public class C<V>
{
public T T2;
}
}
}
public static class Factory
{
public static A<int>.B<bool>.C<string> Create_1()
{
return new A<int>.B<bool>.C<string> ();
}
public static A<int>.B2.C<string> Create_2()
{
return new A<int>.B2.C<string> ();
}
public static A<int>.B2 Create_3()
{
return new A<int>.B2 ();
}
}