2005-06-29 Jonathan Chambers <jonathan.chambers@ansys.com>
[mcs.git] / errors / cs1540-4.cs
blobbd9f3a7a10af68e668aa23498c0e3d75c8d0536b
1 // cs1540-4.cs: Cannot access protected member `A.n()' via a qualifier of type `A'; the qualifier must be of type `B' (or derived from it)
2 // Line: 14
4 class A
6 protected void n () { }
9 class B : A
11 public static void Main ()
13 A b = new A ();
14 b.n ();