Skip to content

Instantly share code, notes, and snippets.

@KevinRansom
Created July 11, 2016 14:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KevinRansom/014a53b4f2f4426f4ae46f78545d7062 to your computer and use it in GitHub Desktop.
Save KevinRansom/014a53b4f2f4426f4ae46f78545d7062 to your computer and use it in GitHub Desktop.
Enter file conte
// Microsoft (R) .NET Framework IL Disassembler. Version 4.6.81.0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Metadata version: v4.0.30319
.assembly extern mscorlib
{
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
.ver 4:0:0:0
}
.assembly extern FSharp.Core
{
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) // .?_....:
.ver 4:4:1:0
}
.assembly extern System.ValueTuple
{
.publickeytoken = (CC 7B 13 FF CD 2D DD 51 ) // .{...-.Q
.ver 4:0:0:0
}
.assembly basictuple
{
.custom instance void [FSharp.Core]Microsoft.FSharp.Core.FSharpInterfaceDataVersionAttribute::.ctor(int32,
int32,
int32) = ( 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 )
// --- The following custom attribute is added automatically, do not uncomment -------
// .custom instance void [mscorlib]System.Diagnostics.DebuggableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggableAttribute/DebuggingModes) = ( 01 00 02 00 00 00 00 00 )
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureData.basictuple
{
// Offset: 0x00000000 Length: 0x0000014E
// WARNING: managed resource file FSharpSignatureData.basictuple created
}
.mresource public FSharpOptimizationData.basictuple
{
// Offset: 0x00000158 Length: 0x0000006E
// WARNING: managed resource file FSharpOptimizationData.basictuple created
}
.module basictuple.exe
// MVID: {5783B236-48F4-25A4-A745-038336B28357}
.imagebase 0x00400000
.file alignment 0x00000200
.stackreserve 0x00100000
.subsystem 0x0003 // WINDOWS_CUI
.corflags 0x00000001 // ILONLY
// Image base: 0x01300000
// =============== CLASS MEMBERS DECLARATION ===================
.class public abstract auto ansi sealed Basictuple
extends [mscorlib]System.Object
{
.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 )
.method assembly specialname static valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32>
get_patternInput@3() cil managed
{
// Code size 6 (0x6)
.maxstack 8
IL_0000: ldsfld valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32> '<StartupCode$basictuple>'.$Basictuple::patternInput@3
IL_0005: ret
} // end of method Basictuple::get_patternInput@3
.method public specialname static int32
get_one() cil managed
{
// Code size 6 (0x6)
.maxstack 8
IL_0000: ldsfld int32 '<StartupCode$basictuple>'.$Basictuple::one@3
IL_0005: ret
} // end of method Basictuple::get_one
.method assembly specialname static valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32>
get_copyOfStruct@3() cil managed
{
// Code size 6 (0x6)
.maxstack 8
IL_0000: ldsfld valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32> '<StartupCode$basictuple>'.$Basictuple::copyOfStruct@3
IL_0005: ret
} // end of method Basictuple::get_copyOfStruct@3
.method assembly specialname static valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32>
'get_copyOfStruct@3-1'() cil managed
{
// Code size 6 (0x6)
.maxstack 8
IL_0000: ldsfld valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32> '<StartupCode$basictuple>'.$Basictuple::'copyOfStruct@3-1'
IL_0005: ret
} // end of method Basictuple::'get_copyOfStruct@3-1'
.property valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32>
patternInput@3()
{
.custom instance void [FSharp.Core]Microsoft.FSharp.Core.CompilationMappingAttribute::.ctor(valuetype [FSharp.Core]Microsoft.FSharp.Core.SourceConstructFlags) = ( 01 00 09 00 00 00 00 00 )
.get valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32> Basictuple::get_patternInput@3()
} // end of property Basictuple::patternInput@3
.property int32 one()
{
.custom instance void [FSharp.Core]Microsoft.FSharp.Core.CompilationMappingAttribute::.ctor(valuetype [FSharp.Core]Microsoft.FSharp.Core.SourceConstructFlags) = ( 01 00 09 00 00 00 00 00 )
.get int32 Basictuple::get_one()
} // end of property Basictuple::one
.property valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32>
copyOfStruct@3()
{
.custom instance void [FSharp.Core]Microsoft.FSharp.Core.CompilationMappingAttribute::.ctor(valuetype [FSharp.Core]Microsoft.FSharp.Core.SourceConstructFlags) = ( 01 00 09 00 00 00 00 00 )
.get valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32> Basictuple::get_copyOfStruct@3()
} // end of property Basictuple::copyOfStruct@3
.property valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32>
'copyOfStruct@3-1'()
{
.custom instance void [FSharp.Core]Microsoft.FSharp.Core.CompilationMappingAttribute::.ctor(valuetype [FSharp.Core]Microsoft.FSharp.Core.SourceConstructFlags) = ( 01 00 09 00 00 00 00 00 )
.get valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32> Basictuple::'get_copyOfStruct@3-1'()
} // end of property Basictuple::'copyOfStruct@3-1'
} // end of class Basictuple
.class private abstract auto ansi sealed '<StartupCode$basictuple>'.$Basictuple
extends [mscorlib]System.Object
{
.field static assembly valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32> patternInput@3
.custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 )
.field static assembly int32 one@3
.custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 )
.field static assembly valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32> copyOfStruct@3
.custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 )
.field static assembly valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32> 'copyOfStruct@3-1'
.custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 )
.field static assembly int32 init@
.custom instance void [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 )
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.custom instance void [mscorlib]System.Diagnostics.DebuggerNonUserCodeAttribute::.ctor() = ( 01 00 00 00 )
.method public static void main@() cil managed
{
.entrypoint
// Code size 49 (0x31)
.maxstack 8
IL_0000: nop
IL_0001: ldc.i4.2
IL_0002: ldc.i4.4
IL_0003: newobj instance void valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32>::.ctor(!0,
!1)
IL_0008: stsfld valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32> '<StartupCode$basictuple>'.$Basictuple::patternInput@3
IL_000d: call valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32> Basictuple::get_patternInput@3()
IL_0012: stsfld valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32> '<StartupCode$basictuple>'.$Basictuple::copyOfStruct@3
IL_0017: call valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32> Basictuple::get_copyOfStruct@3()
IL_001c: stsfld valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32> '<StartupCode$basictuple>'.$Basictuple::'copyOfStruct@3-1'
IL_0021: ldsflda valuetype [System.ValueTuple]System.ValueTuple`2<int32,int32> '<StartupCode$basictuple>'.$Basictuple::'copyOfStruct@3-1'
IL_0026: ldfld !!0 [System.ValueTuple]System.ValueTuple`2::Item1
IL_002b: stsfld int32 '<StartupCode$basictuple>'.$Basictuple::one@3
IL_0030: ret
} // end of method $Basictuple::main@
} // end of class '<StartupCode$basictuple>'.$Basictuple
// =============================================================
// *********** DISASSEMBLY COMPLETE ***********************
// WARNING: Created Win32 resource file basictuple.res
nts here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment