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
Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git]
/
mcs
/
errors
/
cs0038.cs
blob
822e4a4f26d874972619814fd5a66bd0692424de
1
// CS0038: Cannot access a nonstatic member of outer type `X' via nested type `X.Y'
2
// Line: 15
3
using
System
;
4
5
class
X
6
{
7
int
a
=
5
;
8
9
class
Y
10
{
11
public long
b
;
12
13
public
Y
()
14
{
15
Console
.
WriteLine
(
a
);
16
}
17
}
18
19
static void
Main
()
20
{
21
}
22
}