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
Make csproj target work again
[mcs.git]
/
errors
/
cs0038-4.cs
blob
9ec27b6e02910e163d81c5372758963f27f29875
1
// cs0038.cs: Cannot access a nonstatic member of outer type `B' via nested type `B.C'
2
// Line: 14
3
4
public class
B
{
5
public static void
Main
()
6
{
7
}
8
9
public int
Foo { get { return 1; }
}
10
11
public class
C
{
12
public void
Baz
()
13
{
14
int
x
=
Foo
;
15
}
16
}
17
}