* ResolvedReference.cs (.ctor): Set 'OriginalItemSpec' and 'ResolvedFrom',
[mcs.git] / tests / test-198.cs
blobe7afe125779bc6f8922f29f5fee470351eda4916
1 namespace N1.N3.N4
3 public class Bar
8 namespace N1.N2
10 using N3.N4;
12 public class Foo : Bar
17 namespace N5.N6
19 using N7.N8;
21 public class Foo : Bar
26 namespace N5.N7.N8
28 public class Bar
33 namespace FirstOuter
35 namespace FirstInner
37 public class First
39 public string MyIdentity {
40 get {
41 return this.GetType().FullName;
47 public class Second : FirstInner.First {}
49 namespace SecondInner
51 public class Third : FirstOuter.FirstInner.First {}
54 namespace FirstInner // purposefully again
56 public class Fourth : First {} // must understand First in the nom qualified form
60 public class Fifth : FirstOuter.FirstInner.First {}
62 namespace M1
64 using X = P1;
65 namespace M2
67 using Y = X.P2;
68 namespace M3
70 public class Foo : Y.Bar
71 { }
76 namespace P1
78 namespace P2
80 public class Bar
81 { }
85 class X
87 static int Main ()
89 // Compilation-only test.
90 return 0;