repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[interp] Fall back to old implementation when calling on proxy
[mono-project.git]
/
mcs
/
errors
/
cs1540-13.cs
blob
1ebc790b65482b75269d03b0ee6b2d9b34a575c5
1
// CS1540: Cannot access protected member `A.del' via a qualifier of type `A'. The qualifier must be of type `B' or derived from it
2
// Line: 16
3
4
delegate int
D
();
5
6
class
A
7
{
8
protected
D del
;
9
}
10
11
class
B
:
A
12
{
13
public static void
Main
()
14
{
15
A b
=
new
A
();
16
var
v
=
b
.
del
();
17
}
18
}