public void NameChange(System.IntPtr pAppDomain, System.IntPtr pThread) { Call(delegate { callbackSwitch.NameChange( MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain), MTA2STA.MarshalIntPtrTo <ICorDebugThread>(pThread) ); }); }