bring Mono Security to monotouch
[mcs.git] / tests / test-156.cs
blob43545820720ab64a4556d913bc316fe7eaf9853e
1 class Internal { }
3 public class Public { }
5 class X
7 public class NestedPublic { }
9 internal class NestedAssembly { }
11 protected internal class NestedFamilyAndAssembly { }
13 protected class NestedFamily { }
15 private class NestedPrivate { }
17 static void Main () { }
20 public class A : Public { }
22 class B : Public { }
23 class C : Internal { }
25 class D : X.NestedPublic { }
26 class E : X.NestedAssembly { }
27 class F : X.NestedFamilyAndAssembly { }
29 public class Y
31 public class YA : Public { }
33 class YB : Internal { }
35 class YC : X.NestedPublic { }
36 class YD : X.NestedAssembly { }
37 class YE : X.NestedFamilyAndAssembly { }
39 internal class YF : Internal { }
41 internal class YG : X.NestedAssembly { }
42 internal class YH : X.NestedFamilyAndAssembly { }
44 internal enum YI { A, B }
46 internal void Test (YI yi) { }
49 public class Z
51 public class P : Y.YA { }
54 class W : X
56 public class WA : NestedPublic { }
57 public class WB : NestedAssembly { }
58 public class WC : NestedFamilyAndAssembly { }
59 internal class WD : NestedPublic { }
60 internal class WE : NestedFamilyAndAssembly { }
62 private class WCA
66 private class WCB
68 public class WCD
70 public class WCE : WCA
77 class G
79 public void Test (X x) { }
81 private enum Foo { A, B };
83 enum Bar { C, D };
85 private class I
87 public class J
89 public void Test (Foo foo) { }
94 public class H
96 public void Test (int[] a) { }
99 internal interface L
101 void Hello (string hello);
104 public class M : L
106 public void Hello (string hello) { }