repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-05-29 Steven Munroe <munroesj@us.ibm.com>
[mcs.git]
/
errors
/
cs0038-3.cs
blob
a0116db210769911cfd195c926833a63f656f0f7
1
// cs0038.cs: Cannot access a nonstatic member of outer type `A' via nested type `B.C'
2
// Line: 15
3
4
public class
A
{
5
public int
Foo { get { return 1; }
}
6
}
7
8
public class
B
:
A
{
9
public static void
Main
()
10
{
11
}
12
13
public class
C
{
14
public void
Baz
()
15
{
16
int
x
=
Foo
;
17
}
18
}
19
}