Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git] / mcs / errors / cs1540-17.cs
blob33eb1b27da6c6daefc6434648ca92e6f1d1911ce
1 // CS1540: Cannot access protected member `A.Foo()' via a qualifier of type `D2'. The qualifier must be of type `D' or derived from it
2 // Line: 8
3 // Compiler options: -r:CS1540-17-lib.dll
5 class D : B
7 public void Test ()
9 C.Get().Foo ();
13 class D2 : B
17 class B : A
21 class C
23 public static D2 Get ()
25 return new D2 ();