Skip to content

Instantly share code, notes, and snippets.

@heytherewill
Created May 12, 2018 09:26
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 heytherewill/669c0a4333085a6041b26c72a8d58ab9 to your computer and use it in GitHub Desktop.
Save heytherewill/669c0a4333085a6041b26c72a8d58ab9 to your computer and use it in GitHub Desktop.
.class public auto ansi beforefieldinit WhatIWantToWrite
extends [System.Runtime]System.Object
{
// Methods
.method public hidebysig static
void Main (
string[] args
) cil managed
{
// Method begins at RVA 0x2050
// Code size 11 (0xb)
.maxstack 8
.entrypoint
IL_0000: ldstr "This I wrote"
IL_0005: call void [System.Console]System.Console::WriteLine(string)
IL_000a: ret
} // end of method WhatIWantToWrite::Main
.method public hidebysig specialname rtspecialname
instance void .ctor () cil managed
{
// Method begins at RVA 0x205c
// Code size 7 (0x7)
.maxstack 8
IL_0000: ldarg.0
IL_0001: call instance void [System.Runtime]System.Object::.ctor()
IL_0006: ret
} // end of method WhatIWantToWrite::.ctor
} // end of class WhatIWantToWrite
.class public auto ansi beforefieldinit WhatIWantToGet
extends [System.Runtime]System.Object
{
// Methods
.method public hidebysig static
void ProperMain (
string[] args
) cil managed
{
// Method begins at RVA 0x2064
// Code size 21 (0x15)
.maxstack 8
IL_0000: ldstr "This I wrote"
IL_0005: call void [System.Console]System.Console::WriteLine(string)
IL_000a: ldstr "This I wove"
IL_000f: call void [System.Console]System.Console::WriteLine(string)
IL_0014: ret
} // end of method WhatIWantToGet::ProperMain
.method public hidebysig specialname rtspecialname
instance void .ctor () cil managed
{
// Method begins at RVA 0x207a
// Code size 7 (0x7)
.maxstack 8
IL_0000: ldarg.0
IL_0001: call instance void [System.Runtime]System.Object::.ctor()
IL_0006: ret
} // end of method WhatIWantToGet::.ctor
} // end of class WhatIWantToGet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment