Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

29 lines
315 B
C#

// Using constructed types in a namespace alias.
namespace N1
{
class A<T>
{
public class B { }
public class C<U> { }
}
class C { }
}
namespace N2
{
using Y = N1.A<int>;
class X
{
public static void Main ()
{
Y y = new Y ();
Y.B b = new Y.B ();
Y.C<long> c = new Y.C<long> ();
}
}
}