Skip to content

Instantly share code, notes, and snippets.

@gdyrrahitis
Created June 22, 2019 14:59
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 gdyrrahitis/3181581b79135084428ea6f3f99f05e9 to your computer and use it in GitHub Desktop.
Save gdyrrahitis/3181581b79135084428ea6f3f99f05e9 to your computer and use it in GitHub Desktop.
.method public hidebysig
instance void ValueTypes () cil managed
{
// Method begins at RVA 0x2068
// Code size 20 (0x14)
.maxstack 1
.locals init (
[0] int32
)
IL_0000: ldc.i4.s 10
IL_0002: stloc.0
IL_0003: ldloc.0
IL_0004: box [System.Runtime]System.Int32 // Box num1 integer value
IL_0009: call instance class [System.Runtime]System.Type [System.Runtime]System.Object::GetType() // Calls the GetType() method from System.Object
IL_000e: call void [System.Console]System.Console::WriteLine(object)
IL_0013: ret
} // end of method Class2::ValueTypes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment