.method public hidebysig | |
instance void BoxingMultipleTimesWithoutNoticing () cil managed | |
{ | |
// Method begins at RVA 0x2068 | |
// Code size 52 (0x34) | |
.maxstack 4 | |
.locals init ( | |
[0] int32, | |
[1] float64, | |
[2] float64 | |
) | |
IL_0000: ldc.i4.s 10 | |
IL_0002: stloc.0 | |
IL_0003: ldc.r8 2.5 | |
IL_000c: stloc.1 | |
IL_000d: ldc.r8 12.5 | |
IL_0016: stloc.2 | |
IL_0017: ldstr "{0}+{1}={2}" | |
IL_001c: ldloc.0 | |
IL_001d: box [System.Runtime]System.Int32 // Box num1 value | |
IL_0022: ldloc.1 | |
IL_0023: box [System.Runtime]System.Double // Box num2 value | |
IL_0028: ldloc.2 | |
IL_0029: box [System.Runtime]System.Double // Box num3 value | |
IL_002e: call void [System.Console]System.Console::WriteLine(string, object, object, object) // Method overload has object parameters | |
IL_0033: ret | |
} // end of method Class2::BoxingMultipleTimesWithoutNoticing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment