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
Add Mono.Runtime::GetNativeStackTrace method to make the new backtracing facility...
[mono-project.git]
/
mcs
/
tests
/
test-608.cs
blob
c5638962762b386ef3f7fc9ba88f123a71079cce
1
using
System
;
2
3
class
X
4
{
5
enum
Foo
{
6
A
,
B
7
}
8
9
enum
Bar
{
10
C
,
D
11
}
12
13
public static void
Main
()
14
{
15
Foo foo
=
Foo
.
A
;
16
Enum se
= (
Enum
)
foo
;
17
Enum sc
= (
Enum
)
Foo
.
A
;
18
object
obj1
= (
object
)
foo
;
19
object
obj2
= (
object
)
Foo
.
A
;
20
21
Bar bar
= (
Bar
)
se
;
22
Foo blah
= (
Foo
)
obj1
;
23
24
Enum Ea
=
Foo
.
A
;
25
26
IConvertible iconv
=
Ea
;
27
}
28
}