Skip to content

Instantly share code, notes, and snippets.

@Garciat
Created April 6, 2015 03:44
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 Garciat/b8b364234d89d8079a4a to your computer and use it in GitHub Desktop.
Save Garciat/b8b364234d89d8079a4a to your computer and use it in GitHub Desktop.
.assembly extern mscorlib
{
.ver 4:0:0:0
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
}
.assembly 'Program'
{
.custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::'.ctor'(int32) = (01 00 08 00 00 00 00 00 ) // ........
.custom instance void class [mscorlib]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.
.custom instance void class [mscorlib]System.Diagnostics.DebuggableAttribute::'.ctor'(valuetype [mscorlib]System.Diagnostics.DebuggableAttribute/DebuggingModes) = (01 00 07 01 00 00 00 00 ) // ........
.custom instance void class [mscorlib]System.Reflection.AssemblyFileVersionAttribute::'.ctor'(string) = (01 00 07 31 2E 30 2E 30 2E 30 00 00 ) // ...1.0.0.0..
.custom instance void class [mscorlib]System.Reflection.AssemblyInformationalVersionAttribute::'.ctor'(string) = (01 00 05 31 2E 30 2E 30 00 00 ) // ...1.0.0..
.hash algorithm 0x00008004
.ver 1:0:0:0
}
.module Program.dll // GUID = {8BE84B2E-B955-46F2-9367-71C98ADB7B83}
.class public auto ansi beforefieldinit Program
extends [mscorlib]System.Object
{
// method line 1
.method public static hidebysig
default void Main (string[] args) cil managed
{
// Method begins at RVA 0x2050
// Code size 30 (0x1e)
.maxstack 2
.locals init (
class [mscorlib]System.Resources.ResourceManager V_0)
IL_0000: nop
IL_0001: ldtoken Program
IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
IL_000b: newobj instance void class [mscorlib]System.Resources.ResourceManager::'.ctor'(class [mscorlib]System.Type)
IL_0010: stloc.0
IL_0011: ldloc.0
IL_0012: ldstr "test"
IL_0017: callvirt instance string class [mscorlib]System.Resources.ResourceManager::GetString(string)
IL_001c: pop
IL_001d: ret
} // end of method Program::Main
// method line 2
.method public hidebysig specialname rtspecialname
instance default void '.ctor' () cil managed
{
// Method begins at RVA 0x207a
// Code size 8 (0x8)
.maxstack 8
IL_0000: ldarg.0
IL_0001: call instance void object::'.ctor'()
IL_0006: nop
IL_0007: ret
} // end of method Program::.ctor
} // end of class Program
.assembly extern mscorlib
{
.ver 4:0:0:0
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
}
.assembly 'Program'
{
.custom instance void class [mscorlib]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.
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.module Program.exe // GUID = {E196E3C0-EF7A-4C34-9D20-CD432BB8273F}
.class public auto ansi beforefieldinit Program
extends [mscorlib]System.Object
{
// method line 1
.method public hidebysig specialname rtspecialname
instance default void '.ctor' () cil managed
{
// Method begins at RVA 0x2050
// Code size 7 (0x7)
.maxstack 8
IL_0000: ldarg.0
IL_0001: call instance void object::'.ctor'()
IL_0006: ret
} // end of method Program::.ctor
// method line 2
.method public static hidebysig
default void Main (string[] args) cil managed
{
// Method begins at RVA 0x2058
.entrypoint
// Code size 29 (0x1d)
.maxstack 2
.locals init (
class [mscorlib]System.Resources.ResourceManager V_0)
IL_0000: ldtoken Program
IL_0005: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
IL_000a: newobj instance void class [mscorlib]System.Resources.ResourceManager::'.ctor'(class [mscorlib]System.Type)
IL_000f: stloc.0
IL_0010: ldloc.0
IL_0011: ldstr "test"
IL_0016: callvirt instance string class [mscorlib]System.Resources.ResourceManager::GetString(string)
IL_001b: pop
IL_001c: ret
} // end of method Program::Main
} // end of class Program
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment