Skip to content

Instantly share code, notes, and snippets.

@batzen
Created January 3, 2019 01:10
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 batzen/8b1ed3e7269b4aaaacee846f188ef347 to your computer and use it in GitHub Desktop.
Save batzen/8b1ed3e7269b4aaaacee846f188ef347 to your computer and use it in GitHub Desktop.
// Microsoft (R) .NET Framework IL Disassembler. Version 4.6.1055.0
// Copyright (c) Microsoft Corporation. All rights reserved.
// VTableFixup Directory:
// IMAGE_COR_VTABLEFIXUP[0]:
// RVA: 0x00004000
// Count: 0x0001
// Type: 0x000d
// [0x0000] (0x06000001)
// Metadata version: v4.0.30319
.assembly extern System.Runtime
{
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) // .?_....:
.ver 4:2:1:0
}
.assembly extern System.Runtime.InteropServices
{
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) // .?_....:
.ver 4:2:1:0
}
.assembly extern System.Console
{
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) // .?_....:
.ver 4:1:1:0
}
.assembly ManagedCore
{
.custom instance void [System.Runtime]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(int32) = ( 01 00 08 00 00 00 00 00 )
.custom instance void [System.Runtime]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() = ( 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 // ....T..WrapNonEx
63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 ) // ceptionThrows.
// --- The following custom attribute is added automatically, do not uncomment -------
// .custom instance void [System.Runtime]System.Diagnostics.DebuggableAttribute::.ctor(valuetype [System.Runtime]System.Diagnostics.DebuggableAttribute/DebuggingModes) = ( 01 00 07 01 00 00 00 00 )
.custom instance void [System.Runtime]System.Runtime.Versioning.TargetFrameworkAttribute::.ctor(string) = ( 01 00 18 2E 4E 45 54 43 6F 72 65 41 70 70 2C 56 // ....NETCoreApp,V
65 72 73 69 6F 6E 3D 76 33 2E 30 01 00 54 0E 14 // ersion=v3.0..T..
46 72 61 6D 65 77 6F 72 6B 44 69 73 70 6C 61 79 // FrameworkDisplay
4E 61 6D 65 00 ) // Name.
.custom instance void [System.Runtime]System.Reflection.AssemblyCompanyAttribute::.ctor(string) = ( 01 00 0B 4D 61 6E 61 67 65 64 43 6F 72 65 00 00 ) // ...ManagedCore..
.custom instance void [System.Runtime]System.Reflection.AssemblyConfigurationAttribute::.ctor(string) = ( 01 00 05 44 65 62 75 67 00 00 ) // ...Debug..
.custom instance void [System.Runtime]System.Reflection.AssemblyFileVersionAttribute::.ctor(string) = ( 01 00 07 31 2E 30 2E 30 2E 30 00 00 ) // ...1.0.0.0..
.custom instance void [System.Runtime]System.Reflection.AssemblyInformationalVersionAttribute::.ctor(string) = ( 01 00 05 31 2E 30 2E 30 00 00 ) // ...1.0.0..
.custom instance void [System.Runtime]System.Reflection.AssemblyProductAttribute::.ctor(string) = ( 01 00 0B 4D 61 6E 61 67 65 64 43 6F 72 65 00 00 ) // ...ManagedCore..
.custom instance void [System.Runtime]System.Reflection.AssemblyTitleAttribute::.ctor(string) = ( 01 00 0B 4D 61 6E 61 67 65 64 43 6F 72 65 00 00 ) // ...ManagedCore..
.hash algorithm 0x00008004
.ver 1:0:0:0
}
.module ManagedCore.dll
// MVID: {4D42AFDB-C5D7-4CB0-ABB4-24CBF22ED04F}
.imagebase 0x80000000
.file alignment 0x00000200
.stackreserve 0x00100000
.subsystem 0x0003 // WINDOWS_CUI
.corflags 0x00000002 // 32BITREQUIRED
// Image base: 0x010A0000
.vtfixup [1] int32 fromunmanaged retainappdomain at D_00004000 // 06000001
// =============== CLASS MEMBERS DECLARATION ===================
.class public abstract auto ansi sealed beforefieldinit ManagedCore.ManagedCoreClass
extends [System.Runtime]System.Object
{
.method public hidebysig static void modopt([System.Runtime]System.Runtime.CompilerServices.CallConvCdecl)
ManagedMethod() cil managed
{
.vtentry 1 : 1
.export [0] as ManagedMethod
// Code size 23 (0x17)
.maxstack 8
IL_0000: nop
IL_0001: ldstr "Hi from "
IL_0006: call string [System.Runtime.InteropServices]System.Runtime.InteropServices.RuntimeEnvironment::GetSystemVersion()
IL_000b: call string [System.Runtime]System.String::Concat(string,
string)
IL_0010: call void [System.Console]System.Console::WriteLine(string)
IL_0015: nop
IL_0016: ret
} // end of method ManagedCoreClass::ManagedMethod
} // end of class ManagedCore.ManagedCoreClass
// =============================================================
.data D_00004000 = bytearray (
01 00 00 06)
// *********** DISASSEMBLY COMPLETE ***********************
// WARNING: Created Win32 resource file ManagedCore.res
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment