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
[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git]
/
mcs
/
errors
/
cs0038-4.cs
blob
021ff3f59d7f01e6c7f6a004d312339eb482aaa7
1
// CS0038: 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
}