G
Gianluca
..method public hidebysig newslot virtual final instance object
GetValue(object target) cil managed
{
// Code Size: 16 byte(s)
.maxstack 1
.locals (
object obj1)
L_0000: ldarg.1
L_0001: castclass WindowsApplication2.CMyClass
L_0006: ldfld string WindowsApplication2.CMyClass::sName
L_000b: stloc.0
L_000c: br.s L_000e
L_000e: ldloc.0
L_000f: ret
}
This is a simple GetValue() { return value } method. What's the point of
L_000c branching to the next instruction at L_000e?
GetValue(object target) cil managed
{
// Code Size: 16 byte(s)
.maxstack 1
.locals (
object obj1)
L_0000: ldarg.1
L_0001: castclass WindowsApplication2.CMyClass
L_0006: ldfld string WindowsApplication2.CMyClass::sName
L_000b: stloc.0
L_000c: br.s L_000e
L_000e: ldloc.0
L_000f: ret
}
This is a simple GetValue() { return value } method. What's the point of
L_000c branching to the next instruction at L_000e?