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
* MSBuild.cs (Execute): Don't share target output items,
[mcs.git]
/
errors
/
cs0038.cs
blob
3d896a2a2eb15d029558b8d22d67c2797a5caec1
1
// cs0038.cs: 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
}