repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs1540-8.cs
blob
fac37099941c40de11742361db775cb75addbc40
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
3
4
class
A
{
5
protected int
f { get { return 1; }
}
6
}
7
8
class
B
:
A
{
9
int
baz
()
{ return new A().f; }
10
}
11