[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / errors / cs1540-6.cs
blob484a78c186550225360427085a20c407d612321b
1 // CS1540: Cannot access protected member `A.A(A)' via a qualifier of type `A'. The qualifier must be of type `B' or derived from it
2 // Line: 25
4 public class A {
5 public A ()
9 protected A (A a)
14 public class B : A {
15 public B () : base ()
19 public B (A a) : base (a)
23 public A MyA {
24 get {
25 A a = new A (this);
26 return a;