public void MDANotification(ICorDebugController c, ICorDebugThread t, ICorDebugMDA mda) { ManagedCallback managedCallback = GetProcessCallbackInterface(c); if (managedCallback != null) { managedCallback.MDANotification(c, t, mda); } }
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(); }