projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Incremented version number.
[mono.git]
/
mcs
/
errors
/
cs0038-1.cs
1
// cs0038-1.cs: Cannot access a nonstatic member of outer type 'A' via nested type 'C.N'
2
class A {
3
protected int n = 0;
4
}
5
6
class B : A { }
7
8
class C : B {
9
class N {
10
internal int foo () { return n; }
11
}
12
public static int Main () {
13
N a = new N ();
14
return a.foo ();
15
}
16
}