Merge pull request #5082 from kumpera/fix-ro-fs-file-delete
[mono.git] / mono / tests / test-enum-indstoreil.il
1 .assembly extern mscorlib
2 {
3   .ver 1:0:5000:0
4   .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
5 }
6 .assembly 'test-enum-indstore'
7 {
8   .hash algorithm 0x00008004
9   .ver  0:0:0:0
10 }
11 .module 'test-enum-indstore.exe' // GUID = {EAB30498-E396-428E-877F-1653AAAE4744}
12
13
14   .class private auto ansi beforefieldinit Test
15         extends [mscorlib]System.Object
16   {
17     .field  private   valuetype Options 'opt'
18
19     // method line 1
20     .method public hidebysig  specialname  rtspecialname 
21            instance default void .ctor ()  cil managed 
22     {
23         // Method begins at RVA 0x20ec
24         // Code size 7 (0x7)
25         .maxstack 8
26         IL_0000:  ldarg.0 
27         IL_0001:  call instance void object::.ctor()
28         IL_0006:  ret 
29     } // end of method Test::instance default void .ctor () 
30
31     // method line 2
32     .method private static  hidebysig 
33            default void Main ()  cil managed 
34     {
35         // Method begins at RVA 0x20f4
36         .entrypoint
37         // Code size 18 (0x12)
38         .maxstack 3
39         .locals init (
40                 class Test      V_0,
41                 valuetype Options&      V_1)
42         IL_0000:  newobj instance void class Test::.ctor()
43         IL_0005:  stloc.0 
44         IL_0006:  ldloc.0 
45         IL_0007:  ldflda  valuetype Options Test::'opt'
46         IL_000c:  stloc.1 
47         IL_000d:  ldloc.1 
48                   ldloc.1
49                   ldind.u1
50         IL_000e:  ldc.i4.1 
51         IL_000f:  or 
52                   stind.i1
53 //      IL_0010:  stloc.1 
54                   ldloc.0
55         IL_0019:  ldfld  valuetype Options Test::'opt'
56         IL_001e:  box Options
57         IL_0023:  call void class [mscorlib]System.Console::WriteLine(object)
58         IL_0011:  ret 
59     } // end of method Test::default void Main () 
60
61   } // end of class Test
62
63   .class private auto ansi sealed Options
64         extends [mscorlib]System.Enum
65   {
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)
69
70   } // end of class Options
71