[mcs] C# 7 tuple (foundation only).
[mono.git] / mcs / errors / cs0122.cs
1 // CS0122: `Y.x()' is inaccessible due to its protection level
2 // Line: 15
3 using System;
4
5 class Y {
6         void x () {}
7
8 }
9
10 class X {
11         static int Main ()
12         {
13                 Y y = new Y ();
14
15                 y.x ();
16                 return 0;
17         }
18 }