Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / gtest-055.cs
1 // Using constructed types in a namespace alias.
2
3 namespace N1
4 {
5         class A<T>
6         {
7                 public class B { }
8
9                 public class C<U> { }
10         }
11
12         class C { }
13 }
14
15 namespace N2
16 {
17         using Y = N1.A<int>;
18
19         class X
20         {
21                 public static void Main ()
22                 {
23                         Y y = new Y ();
24                         Y.B b = new Y.B ();
25                         Y.C<long> c = new Y.C<long> ();
26                 }
27         }
28 }