[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs1540-8.cs
blob3254c3ca7b277d04e2284d7a50107747bf5bfcb0
1 // CS1540: Cannot access protected member `A.f' via a qualifier of type `A'. The qualifier must be of type `B' or derived from it
2 // Line: 9
4 class A {
5 protected int f { get { return 1; } }
8 class B : A {
9 int baz () { return new A().f; }