public void FunctionRemapOpportunity(IntPtr pAppDomain, IntPtr pThread, IntPtr pOldFunction, IntPtr pNewFunction, uint oldILOffset) { Call(delegate { callbackSwitch.FunctionRemapOpportunity( MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain), MTA2STA.MarshalIntPtrTo <ICorDebugThread>(pThread), MTA2STA.MarshalIntPtrTo <ICorDebugFunction>(pOldFunction), MTA2STA.MarshalIntPtrTo <ICorDebugFunction>(pNewFunction), oldILOffset ); }); }