[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / errors / cs0122-9.cs
blob4a51db38df3a73d39dc985393463eb152903679d
1 // CS0122: `X.a.get' is inaccessible due to its protection level
2 // Line: 16
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;