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
[corlib] Add a special method for XI so the linker does not always have to generate it.
[mono-project.git]
/
mcs
/
errors
/
cs0110.cs
blob
a31246f0d49cbbe0e20cca5d4689162f743d461b
1
// CS0110: The evaluation of the constant value for `A.B.C.X' involves a circular definition
2
// Line: 9
3
4
class
A
{
5
int
a
;
6
7
class
B
{
8
int
b
;
9
10
class
C
{
11
int
c
;
12
13
void
m
()
14
{
15
c
=
1
;
16
}
17
18
enum
F
{
19
A
,
20
B
,
21
C
,
22
D
=
X
,
23
E
24
}
25
26
const int
X
=
Y
+
1
;
27
const int
Y
=
1
+ (
int
)
F
.
E
;
28
}
29
}
30
31
static int
Main
(
string
[]
args
)
32
{
33
return
0
;
34
}
35
36
}