public void DebuggerError(System.IntPtr pProcess, int errorHR, uint errorCode) { Call(delegate { callbackSwitch.DebuggerError( MTA2STA.MarshalIntPtrTo <ICorDebugProcess>(pProcess), errorHR, errorCode ); }); }