blob: 8118e4377a0aa92c3c5efb91ca200bd6a390396c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// cs0122.cs: `Y.x()' is inaccessible due to its protection level
// Line: 15
using System;
class Y {
void x () {}
}
class X {
static int Main ()
{
Y y = new Y ();
y.x ();
return 0;
}
}
|