Add Mono.Runtime::GetNativeStackTrace method to make the new backtracing facility...
[mono-project.git] / mcs / tests / test-608.cs
blobc5638962762b386ef3f7fc9ba88f123a71079cce
1 using System;
3 class X
5 enum Foo {
6 A, B
9 enum Bar {
10 C, D
13 public static void Main ()
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;
21 Bar bar = (Bar) se;
22 Foo blah = (Foo) obj1;
24 Enum Ea = Foo.A;
26 IConvertible iconv = Ea;