Пример #1
0
        private void CtorSecureRTClosed(object target, IntPtr methodPtr, IntPtr callThunk, IntPtr assembly)
        {
            MulticastDelegate delegate2 = Delegate.InternalAlloc(Type.GetTypeHandle(this));

            delegate2.CtorRTClosed(target, methodPtr);
            this._invocationList  = delegate2;
            base._target          = this;
            base._methodPtr       = callThunk;
            base._methodPtrAux    = assembly;
            this._invocationCount = base.GetInvokeMethod();
        }
        private void CtorSecureRTClosed(Object target, IntPtr methodPtr, IntPtr callThunk, IntPtr creatorMethod)
        {
            MulticastDelegate realDelegate = Delegate.InternalAllocLike(this);

            realDelegate.CtorRTClosed(target, methodPtr);
            this._invocationList  = realDelegate;
            this._target          = this;
            this._methodPtr       = callThunk;
            this._methodPtrAux    = creatorMethod;
            this._invocationCount = GetInvokeMethod();
        }
        private void CtorSecureRTClosed(object target, IntPtr methodPtr, IntPtr callThunk, IntPtr creatorMethod)
        {
            MulticastDelegate delegate2 = Delegate.InternalAllocLike(this);

            delegate2.CtorRTClosed(target, methodPtr);
            this._invocationList  = delegate2;
            base._target          = this;
            base._methodPtr       = callThunk;
            base._methodPtrAux    = creatorMethod;
            this._invocationCount = base.GetInvokeMethod();
        }