1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
// CS0122: `X.a.get' is inaccessible due to its protection level // Line: 16 public class X { private int a { get { return 1; } } } internal class Y : X { int D (X x) { if (x.a == 2) return 0; return 0; } }