2 // This test is for bug 57303
4 // Access via a base-instance to a protected method is allowed if we are a nested class
9 protected virtual int SomeProperty {
13 private class FooPrivate : Foo {
16 internal FooPrivate(Foo f) {
20 protected override int SomeProperty {
22 this._realFoo.SomeProperty;
27 public static void Main () { }