* ExternTable.cs (ExternTable.GetModuleTypeRef): 'module_table' can be
[mcs.git] / errors / cs1540-2.cs
blob17ea7451feb618e9fdd8dc36f6abb2a3bb133303
1 // cs1540-2.cs : Cannot access protected member `A.X()' via a qualifier of type `B'; the qualifier must be of type `C' (or derived from it)
2 // Line: 21
4 class A
6 protected virtual void X ()
11 class B : A
15 class C : A
17 static B b = new B ();
19 static void M ()
21 b.X ();