2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0122-9.cs
blobcd80d6fb0ed0c74f7410e4110e47157f448f5d8c
1 // cs0122-9.cs: `X.a' is inaccessible due to its protection level
2 // Line: 11
4 public class X {
5 private int a {
6 get {
7 return 1;
12 internal class Y : X {
14 int D (X x)
16 if (x.a == 2)
17 return 0;
18 return 0;
21 static void Main ()