1 .assembly extern mscorlib
4 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
6 .assembly 'test-enum-indstore'
8 .hash algorithm 0x00008004
11 .module 'test-enum-indstore.exe' // GUID = {EAB30498-E396-428E-877F-1653AAAE4744}
14 .class private auto ansi beforefieldinit Test
15 extends [mscorlib]System.Object
17 .field private valuetype Options 'opt'
20 .method public hidebysig specialname rtspecialname
21 instance default void .ctor () cil managed
23 // Method begins at RVA 0x20ec
27 IL_0001: call instance void object::.ctor()
29 } // end of method Test::instance default void .ctor ()
32 .method private static hidebysig
33 default void Main () cil managed
35 // Method begins at RVA 0x20f4
37 // Code size 18 (0x12)
41 valuetype Options& V_1)
42 IL_0000: newobj instance void class Test::.ctor()
45 IL_0007: ldflda valuetype Options Test::'opt'
55 IL_0019: ldfld valuetype Options Test::'opt'
57 IL_0023: call void class [mscorlib]System.Console::WriteLine(object)
59 } // end of method Test::default void Main ()
61 } // end of class Test
63 .class private auto ansi sealed Options
64 extends [mscorlib]System.Enum
66 .field public specialname rtspecialname unsigned int8 value__
67 .field public static literal valuetype Options Zero = int8(0x00)
68 .field public static literal valuetype Options One = int8(0x01)
70 } // end of class Options