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
w32file-unix.c: In function 'mono_w32file_get_file_size':
[mono-project.git]
/
mcs
/
errors
/
cs1540.cs
blob
f60ce56a7f32c9ecf10aea94a704840f62f84580
1
// CS1540: 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 int
n
;
7
}
8
9
class
B
:
A
10
{
11
public static void
Main
()
12
{
13
A b
=
new
A
();
14
b
.
n
=
1
;
15
}
16
}