Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-306.cs
1 using System;
2
3 using C = A.D;
4
5 class A
6 {
7         protected internal class D : Exception { }
8
9         public class B
10         {
11                 class C : Exception { }
12
13                 public B () {
14                         try {
15                                 throw new A.B.C ();
16                         }
17                         catch (C e) {
18                         }
19                 }
20         }
21
22         public static void Main()
23         {
24                 object o = new A.B();
25         }
26 }