projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* Form.cs: Make the fix for #80775 windows-only (fixes #81957).
[mono.git]
/
mcs
/
errors
/
cs1540-3.cs
1
// cs1540.cs: Cannot access protected member `A.n' via a qualifier of type `B'. The qualifier must be of type `C' or derived from it
2
// Line: 19
3
4
class A
5
{
6
protected int n;
7
}
8
9
class B : A
10
{
11
}
12
13
class C : A
14
{
15
static B b = new B ();
16
17
static void Main ()
18
{
19
b.n = 1;
20
}
21
}