(DISTFILES): Comment out a few missing files.
[mono-project.git] / mcs / errors / error-2.cs
blob1b19718e81b241b5a3c9a02f808026015d51325a
1 class Internal { }
3 public class Public { }
5 interface InternalInterface { }
7 class X
9 public class NestedPublic { }
11 internal class NestedAssembly { }
13 protected internal class NestedFamilyAndAssembly { }
15 protected class NestedFamily { }
17 protected class NestedPrivate { }
19 static void Main () { }
22 // CS0060
23 public class A : Internal { }
25 // CS0060
26 public class B : X.NestedPublic { }
27 // CS0060
28 public class C : X.NestedAssembly { }
29 // CS0060
30 public class D : X.NestedFamilyAndAssembly { }
32 // CS0059
33 public delegate void E (Internal i);
34 // CS0058
35 public delegate Internal F ();
37 public class Y
39 // CS0060
40 public class YA : Internal { }
41 // CS0060
42 public class YB : X.NestedPublic { }
43 // CS0060
44 public class YC : X.NestedAssembly { }
45 // CS0060
46 public class YD : X.NestedFamilyAndAssembly { }
48 // CS0051
49 public void YMA (Internal a) { }
50 // CS0051
51 public void YMB (X.NestedPublic a) { }
52 // CS0051
53 public void YMC (X.NestedAssembly a) { }
54 // CS0051
55 public void YMD (X.NestedFamilyAndAssembly a) { }
57 // CS0050
58 public Internal YME () { }
60 // CS0052
61 public Internal YE;
63 // CS0053
64 public Internal YF {
65 get { return null; }
68 // CS0054
69 public Internal this [int a] {
70 get { return null; }
73 // CS0052
74 public event Internal YG;
76 // CS0055
77 public int this [Internal i] {
78 get { return; }
82 class Z : X
84 // CS0060
85 public class ZA : NestedFamily { }
86 // CS0060
87 internal class ZB : NestedFamily { }
90 internal interface L
92 void Hello (string hello);
95 // CS0061
96 public interface M : L
98 void World (string world);
101 public class N : M
103 public void Hello (string hello) { }
105 public void World (string world) { }