Exemplo n.º 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;
        }
Exemplo n.º 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"); }
Exemplo n.º 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_*);
     }
 }