Align libgc vcxproj with makefile.
[mono.git] / mono / tests / generic-valuetype-newobj.2.il
1 .assembly extern mscorlib
2 {
3   .ver 2:0:0:0
4   .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
5 }
6 .assembly 'generic-valuetype-newobj.2'
7 {
8   .custom instance void class [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::'.ctor'() =  (
9                 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78   // ....T..WrapNonEx
10                 63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01       ) // ceptionThrows.
11
12   .hash algorithm 0x00008004
13   .ver  0:0:0:0
14 }
15 .module 'generic-valuetype-newobj.2.exe' // GUID = {F6750CB7-6941-4C99-83C6-C591622CA936}
16
17
18   .class public sequential ansi sealed beforefieldinit Gen`1<S>
19         extends [mscorlib]System.ValueType
20   {
21     .field  public  !0[] arr
22
23     // method line 1
24     .method public hidebysig  specialname  rtspecialname 
25            instance default void '.ctor' (int32 i)  cil managed 
26     {
27         // Method begins at RVA 0x20ec
28         // Code size 13 (0xd)
29         .maxstack 8
30         IL_0000:  ldarg.0 
31         IL_0001:  ldarg.1 
32         IL_0002:  newarr !0
33         IL_0007:  stfld !0[] valuetype Gen`1<!0>::arr
34         IL_000c:  ret 
35     } // end of method Gen`1::.ctor
36
37   } // end of class Gen`1
38
39   .class public auto ansi beforefieldinit main
40         extends [mscorlib]System.Object
41   {
42
43     // method line 2
44     .method public hidebysig  specialname  rtspecialname 
45            instance default void '.ctor' ()  cil managed 
46     {
47         // Method begins at RVA 0x20fc
48         // Code size 7 (0x7)
49         .maxstack 8
50         IL_0000:  ldarg.0 
51         IL_0001:  call instance void object::'.ctor'()
52         IL_0006:  ret 
53     } // end of method main::.ctor
54
55     // method line 3
56     .method public static  hidebysig 
57            default valuetype Gen`1<string> newGen ()  cil managed 
58     {
59         // Method begins at RVA 0x2104
60         // Code size 10 (0xa)
61         .maxstack 3
62         IL_0002:  ldc.i4.3 
63                   newobj instance void valuetype Gen`1<string>::'.ctor'(int32)
64         IL_0009:  ret 
65     } // end of method main::newGen
66
67     // method line 4
68     .method public static  hidebysig 
69            default int32 Main ()  cil managed 
70     {
71         // Method begins at RVA 0x211c
72         .entrypoint
73         // Code size 37 (0x25)
74         .maxstack 6
75         .locals init (
76                 valuetype Gen`1<string> V_0)
77         IL_0000:  call valuetype Gen`1<string> class main::newGen()
78         IL_0005:  stloc.0 
79         IL_0006:  ldloca.s 0
80         IL_0008:  ldfld !0[] valuetype Gen`1<string>::arr
81         IL_000d:  callvirt instance class [mscorlib]System.Type object::GetType()
82         IL_0012:  ldtoken string[]
83         IL_0017:  call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
84         IL_001c:  beq IL_0023
85
86         IL_0021:  ldc.i4.1 
87         IL_0022:  ret 
88         IL_0023:  ldc.i4.0 
89         IL_0024:  ret 
90     } // end of method main::Main
91
92   } // end of class main
93