|
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | +.assembly extern runtime { } |
| 7 | +.assembly extern FSharp.Core { } |
| 8 | +.assembly assembly |
| 9 | +{ |
| 10 | + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.FSharpInterfaceDataVersionAttribute::.ctor(int32, |
| 11 | + int32, |
| 12 | + int32) = ( 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 ) |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + .hash algorithm 0x00008004 |
| 18 | + .ver 0:0:0:0 |
| 19 | +} |
| 20 | +.module assembly.exe |
| 21 | + |
| 22 | +.imagebase {value} |
| 23 | +.file alignment 0x00000200 |
| 24 | +.stackreserve 0x00100000 |
| 25 | +.subsystem 0x0003 |
| 26 | +.corflags 0x00000001 |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | +.class public abstract auto ansi sealed assembly |
| 33 | + extends [runtime]System.Object |
| 34 | +{ |
| 35 | + .custom instance void [FSharp.Core]Microsoft.FSharp.Core.CompilationMappingAttribute::.ctor(valuetype [FSharp.Core]Microsoft.FSharp.Core.SourceConstructFlags) = ( 01 00 07 00 00 00 00 00 ) |
| 36 | + .method public static int32 TestFunction1() cil managed |
| 37 | + { |
| 38 | + |
| 39 | + .maxstack 8 |
| 40 | + IL_0000: ldstr "Hello" |
| 41 | + IL_0005: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5<class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit>::.ctor(string) |
| 42 | + IL_000a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine<class [FSharp.Core]Microsoft.FSharp.Core.Unit>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4<!!0,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit>) |
| 43 | + IL_000f: pop |
| 44 | + IL_0010: ldstr "World" |
| 45 | + IL_0015: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5<class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit>::.ctor(string) |
| 46 | + IL_001a: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine<class [FSharp.Core]Microsoft.FSharp.Core.Unit>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4<!!0,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit>) |
| 47 | + IL_001f: pop |
| 48 | + IL_0020: ldc.i4.7 |
| 49 | + IL_0021: ret |
| 50 | + } |
| 51 | + |
| 52 | + .method public static void TestFunction3() cil managed |
| 53 | + { |
| 54 | + |
| 55 | + .maxstack 3 |
| 56 | + .locals init (int32 V_0, |
| 57 | + class [runtime]System.Exception V_1) |
| 58 | + .try |
| 59 | + { |
| 60 | + IL_0000: nop |
| 61 | + IL_0001: ldstr "Hello" |
| 62 | + IL_0006: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5<class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit>::.ctor(string) |
| 63 | + IL_000b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine<class [FSharp.Core]Microsoft.FSharp.Core.Unit>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4<!!0,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit>) |
| 64 | + IL_0010: pop |
| 65 | + IL_0011: ldstr "World" |
| 66 | + IL_0016: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5<class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit>::.ctor(string) |
| 67 | + IL_001b: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine<class [FSharp.Core]Microsoft.FSharp.Core.Unit>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4<!!0,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit>) |
| 68 | + IL_0020: pop |
| 69 | + IL_0021: ldc.i4.7 |
| 70 | + IL_0022: stloc.0 |
| 71 | + IL_0023: ldstr "Hello" |
| 72 | + IL_0028: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5<class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit>::.ctor(string) |
| 73 | + IL_002d: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine<class [FSharp.Core]Microsoft.FSharp.Core.Unit>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4<!!0,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit>) |
| 74 | + IL_0032: pop |
| 75 | + IL_0033: leave.s IL_004d |
| 76 | + |
| 77 | + } |
| 78 | + catch [runtime]System.Object |
| 79 | + { |
| 80 | + IL_0035: castclass [runtime]System.Exception |
| 81 | + IL_003a: stloc.1 |
| 82 | + IL_003b: ldstr "World" |
| 83 | + IL_0040: newobj instance void class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`5<class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit>::.ctor(string) |
| 84 | + IL_0045: call !!0 [FSharp.Core]Microsoft.FSharp.Core.ExtraTopLevelOperators::PrintFormatLine<class [FSharp.Core]Microsoft.FSharp.Core.Unit>(class [FSharp.Core]Microsoft.FSharp.Core.PrintfFormat`4<!!0,class [runtime]System.IO.TextWriter,class [FSharp.Core]Microsoft.FSharp.Core.Unit,class [FSharp.Core]Microsoft.FSharp.Core.Unit>) |
| 85 | + IL_004a: pop |
| 86 | + IL_004b: leave.s IL_004d |
| 87 | + |
| 88 | + } |
| 89 | + IL_004d: ret |
| 90 | + } |
| 91 | + |
| 92 | +} |
| 93 | + |
| 94 | +.class private abstract auto ansi sealed '<StartupCode$assembly>'.$assembly |
| 95 | + extends [runtime]System.Object |
| 96 | +{ |
| 97 | + .method public static void main@() cil managed |
| 98 | + { |
| 99 | + .entrypoint |
| 100 | + |
| 101 | + .maxstack 8 |
| 102 | + IL_0000: ret |
| 103 | + } |
| 104 | + |
| 105 | +} |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
0 commit comments