2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs1540-8.cs
blobfac37099941c40de11742361db775cb75addbc40
1 // cs1540-8.cs: Cannot access protected member `A.f' via a qualifier of type `A'. The qualifier must be of type `B' or derived from it
2 // Line: 9
4 class A {
5 protected int f { get { return 1; } }
8 class B : A {
9 int baz () { return new A().f; }