[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs1540-12.cs
blob743ca561ac4df4e3c26d24ac124ef6f275da1acd
1 // CS1540: Cannot access protected member `A.Test.get' via a qualifier of type `B'. The qualifier must be of type `C' or derived from it
2 // Line: 17
4 class A
6 public object[] Test {
7 set { }
8 protected get { return null; }
12 class B : A
16 class C : A
18 public void Test2 (B b)
20 foreach (object o in b.Test) {