3 public class Public { }
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 { }
23 class C
: Internal { }
25 class D
: X
.NestedPublic { }
26 class E
: X
.NestedAssembly { }
27 class F
: X
.NestedFamilyAndAssembly { }
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
) { }
51 public class P
: Y
.YA { }
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 { }
70 public class WCE
: WCA
79 public void Test (X x
) { }
81 private enum Foo { A, B }
;
89 public void Test (Foo foo
) { }
96 public void Test (int[] a
) { }
101 void Hello (string hello
);
106 public void Hello (string hello
) { }