[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / errors / cs1540-15.cs
blob36021768b4247e5966ca9fe53e58943a0bc07175
1 // CS1540: Cannot access protected member `Parent.Foo()' via a qualifier of type `Parent'. The qualifier must be of type `Child' or derived from it
2 // Line: 8
3 // Compiler options: -r:CS1540-15-lib.dll
5 public class Child : Parent
7 public void Bar (Parent p)
9 p.Foo ();