
Untitled
By: a guest on Jan 28th, 2012 | syntax:
None | size: 1.42 KB | hits: 21 | expires: Never
.field private object targetObj
.field private native int targetMethod
.field family class System.Delegate pNext
.method public hidebysig virtual instance bool Equals(object obj) cil managed
{
// Code size 74 (0x4a)
.maxstack 2
.locals init (class System.Delegate V_0, bool V_1, bool V_2)
IL_0000: nop
IL_0001: ldarg.1
IL_0002: isinst System.Delegate
IL_0007: stloc.0
IL_0008: ldloc.0
IL_0009: ldnull
IL_000a: ceq
IL_000c: ldc.i4.0
IL_000d: ceq
IL_000f: stloc.2
IL_0010: ldloc.2
IL_0011: brtrue.s IL_0018
IL_0013: nop
IL_0014: ldc.i4.0
IL_0015: stloc.1
IL_0016: br.s IL_0048
IL_0018: ldloc.0
IL_0019: ldfld object System.Delegate::targetObj
IL_001e: ldarg.0
IL_001f: ldfld object System.Delegate::targetObj
IL_0024: bne.un.s IL_0044
IL_0026: ldloc.0
IL_0027: ldflda native int System.Delegate::targetMethod
IL_002c: ldarg.0
IL_002d: ldfld native int System.Delegate::targetMethod
IL_0032: box System.IntPtr
IL_0037: constrained. System.IntPtr
IL_003d: callvirt instance bool System.Object::Equals(object)
IL_0042: br.s IL_0045
IL_0044: ldc.i4.0
IL_0045: stloc.1
IL_0046: br.s IL_0048
IL_0048: ldloc.1
IL_0049: ret
} // end of method Delegate::Equals