public ManagedCallback GetProcessCallbackInterface(string name, ICorDebugController c) { if (c.Is<ICorDebugAppDomain>()) { return GetProcessCallbackInterface(name, c.CastTo<ICorDebugAppDomain>()); } else if (c.Is<ICorDebugProcess>()){ return GetProcessCallbackInterface(name, c.CastTo<ICorDebugProcess>()); } else { throw new System.Exception("Unknown callback argument"); } }
public ManagedCallback GetProcessCallbackInterface(ICorDebugController c) { if (c.Is <ICorDebugAppDomain>()) { return(GetProcessCallbackInterface(c.CastTo <ICorDebugAppDomain>())); } else if (c.Is <ICorDebugProcess>()) { return(GetProcessCallbackInterface(c.CastTo <ICorDebugProcess>())); } else { throw new System.Exception("Unknown callback argument"); } }
public void MDANotification(ICorDebugController c, ICorDebugThread t, ICorDebugMDA mda) { if (c.Is <ICorDebugAppDomain>()) { EnterCallback(PausedReason.Other, "MDANotification", c.CastTo <ICorDebugAppDomain>()); } else if (c.Is <ICorDebugProcess>()) { EnterCallback(PausedReason.Other, "MDANotification", c.CastTo <ICorDebugProcess>()); } else { throw new System.Exception("Unknown callback argument"); } ExitCallback_Continue(); }
public void MDANotification(ICorDebugController c, ICorDebugThread t, ICorDebugMDA mda) { if (c.Is<ICorDebugAppDomain>()) { EnterCallback(PausedReason.Other, "MDANotification", c.CastTo<ICorDebugAppDomain>()); } else if (c.Is<ICorDebugProcess>()){ EnterCallback(PausedReason.Other, "MDANotification", c.CastTo<ICorDebugProcess>()); } else { throw new System.Exception("Unknown callback argument"); } ExitCallback_Continue(); }