Example #1
0
        public virtual CORINFO_METHOD_STRUCT_* GetDelegateCtor_wrapper(IntPtr _this, out IntPtr exception, CORINFO_METHOD_STRUCT_* methHnd, CORINFO_CLASS_STRUCT_* clsHnd, CORINFO_METHOD_STRUCT_* targetMethodHnd, ref DelegateCtorArgs pCtorData)
        {
            exception = IntPtr.Zero;
            try
            {
                return GetDelegateCtor(methHnd, clsHnd, targetMethodHnd, ref pCtorData);

            }
            catch (Exception ex)
            {
                exception = AllocException(ex);
            }
            return (CORINFO_METHOD_STRUCT_*)0;
        }
Example #2
0
 private CORINFO_METHOD_STRUCT_* GetDelegateCtor(IntPtr _this, CORINFO_METHOD_STRUCT_* methHnd, CORINFO_CLASS_STRUCT_* clsHnd, CORINFO_METHOD_STRUCT_* targetMethodHnd, ref DelegateCtorArgs pCtorData)
 { throw new NotImplementedException("GetDelegateCtor"); }
Example #3
0
 static CORINFO_METHOD_STRUCT_* _GetDelegateCtor(IntPtr thisHandle, IntPtr* ppException, CORINFO_METHOD_STRUCT_* methHnd, CORINFO_CLASS_STRUCT_* clsHnd, CORINFO_METHOD_STRUCT_* targetMethodHnd, ref DelegateCtorArgs pCtorData)
 {
     var _this = GetThis(thisHandle);
     try
     {
         return _this.GetDelegateCtor(methHnd, clsHnd, targetMethodHnd, ref pCtorData);
     }
     catch (Exception ex)
     {
         *ppException = _this.AllocException(ex);
         return default(CORINFO_METHOD_STRUCT_*);
     }
 }