Beispiel #1
0
 public virtual void getVars_wrapper(IntPtr _this, out IntPtr exception, CORINFO_METHOD_STRUCT_* ftn, ref uint cVars, ILVarInfo** vars, [MarshalAs(UnmanagedType.U1)] ref bool extendOthers)
 {
     exception = IntPtr.Zero;
     try
     {
         getVars(ftn, ref cVars, vars, ref extendOthers);
         return;
     }
     catch (Exception ex)
     {
         exception = AllocException(ex);
     }
 }
Beispiel #2
0
        private void getVars(IntPtr _this, CORINFO_METHOD_STRUCT_* ftn, ref uint cVars, ILVarInfo** vars, [MarshalAs(UnmanagedType.U1)] ref bool extendOthers)
        {
            // TODO: Debugging

            cVars = 0;
            *vars = null;

            // Just tell the JIT to extend everything.
            extendOthers = true;
        }
Beispiel #3
0
 static void _getVars(IntPtr thisHandle, IntPtr* ppException, CORINFO_METHOD_STRUCT_* ftn, ref uint cVars, ILVarInfo** vars, [MarshalAs(UnmanagedType.U1)] ref bool extendOthers)
 {
     var _this = GetThis(thisHandle);
     try
     {
         _this.getVars(ftn, ref cVars, vars, ref extendOthers);
     }
     catch (Exception ex)
     {
         *ppException = _this.AllocException(ex);
     }
 }