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-20.cs
blob
ac585e815f365134220fd295a3d5e480b8086126
1
// CS1540: Cannot access protected member `A.A(int)' via a qualifier of type `A'. The qualifier must be of type `B' or derived from it
2
// Line: 25
3
4
public class
A
5
{
6
protected
A
(
int
a
)
7
{
8
}
9
}
10
11
public class
B
:
A
12
{
13
public
B
()
14
:
base
(
1
)
15
{
16
}
17
18
public static void
Main
()
19
{
20
A a
=
new
A
(
1
);
21
}
22
}