projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* default.build: Fix relative path to key. Avoid use of ugly foreach
[mono.git]
/
mcs
/
errors
/
cs1540-4.cs
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
3
4
class A
5
{
6
protected void n () { }
7
}
8
9
class B : A
10
{
11
public static void Main ()
12
{
13
A b = new A ();
14
b.n ();
15
}
16
}
17
18
19