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
bring Mono Security to monotouch
[mcs.git]
/
tests
/
test-268.cs
blob
145c2d86bdffd4bcf94813cef02030b102ae3ee6
1
public enum
MyEnum { V = 1 }
2
3
class
X
{
4
public
MyEnum MyEnum
;
5
class
Nested
{
6
internal
MyEnum
D
() {
7
return
MyEnum
.
V
;
8
}
9
}
10
11
static int
Main
() {
12
Nested n
=
new
Nested
();
13
return
n
.
D
() ==
MyEnum
.
V
?
0
:
1
;
14
}
15
}