private static Delegate GetTrueDelegate(IntPtr op) { CLRObject o = GetManagedObject(op) as CLRObject; if (o != null) { Delegate d = o.inst as Delegate; return d; } return null; }