Bump API snapshot submodule
[mono.git] / mcs / errors / cs0122-22.cs
1 // CS0122: `Test.A.B' is inaccessible due to its protection level
2 // Line: 6
3
4 namespace Test
5 {
6         public sealed class A
7         {
8                 private class B
9                 {
10                         public static void Method ()
11                         {
12                         }
13                 }
14         }
15         
16         class MainClass
17         {
18                 public static void Main(string[] args)
19                 {
20                         A.B.Method ();
21                 }
22         }
23 }