public void Breakpoint(System.IntPtr pAppDomain, System.IntPtr pThread, System.IntPtr pBreakpoint) { Call(delegate { callbackSwitch.Breakpoint( MTA2STA.MarshalIntPtrTo <ICorDebugAppDomain>(pAppDomain), MTA2STA.MarshalIntPtrTo <ICorDebugThread>(pThread), // This fails in .NET 1.1: MTA2STA.MarshalIntPtrTo <ICorDebugBreakpoint>(pBreakpoint) ); }); }