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
update readme (#21797)
[mono-project.git]
/
mcs
/
tests
/
test-857.cs
blob
3da34d63a7a530c847470690f4c2328a3119b606
1
using
System
;
2
3
public class
Outer
4
{
5
public enum
Inner
6
{
7
ONE
,
8
TWO
9
}
10
}
11
12
public class
TypeHiding
13
{
14
15
public static bool
Test1
(
Outer Outer
)
16
{
17
return
0
==
Outer
.
Inner
.
ONE
;
18
}
19
20
public static bool
Test2
()
21
{
22
Outer Outer
=
null
;
23
return
0
==
Outer
.
Inner
.
ONE
;
24
}
25
26
public static void
Main
()
27
{
28
}
29
}