private void CtorSecureClosedStatic(Object target, IntPtr methodPtr, IntPtr callThunk, IntPtr creatorMethod)
        {
            MulticastDelegate realDelegate = (MulticastDelegate)Delegate.InternalAllocLike(this);

            realDelegate.CtorClosedStatic(target, methodPtr);
            this._invocationList  = realDelegate;
            this._target          = this;
            this._methodPtr       = callThunk;
            this._methodPtrAux    = creatorMethod;
            this._invocationCount = GetInvokeMethod();
        }
        private void CtorSecureClosedStatic(Object target, IntPtr methodPtr, IntPtr callThunk, IntPtr assembly)
        {
            MulticastDelegate realDelegate = (MulticastDelegate)Delegate.InternalAlloc(Type.GetTypeHandle(this));

            realDelegate.CtorClosedStatic(target, methodPtr);
            this._invocationList  = realDelegate;
            this._target          = this;
            this._methodPtr       = callThunk;
            this._methodPtrAux    = assembly;
            this._invocationCount = GetInvokeMethod();
        }
Пример #3
0
        private void CtorSecureClosedStatic(object target, IntPtr methodPtr, IntPtr callThunk, IntPtr assembly)
        {
            MulticastDelegate delegate2 = Delegate.InternalAlloc(Type.GetTypeHandle(this));

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

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