a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
29 lines
315 B
C#
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> ();
|
|
}
|
|
}
|
|
}
|