/// <summary> /// Create a new instance of the FunctionRemapCompleteStopReason class. /// </summary> /// <param name="appDomain">The appDomain where remapping is occuring.</param> /// <param name="thread">The thread on which the remapping is occuring.</param> /// <param name="managedFunction">The version of function the debugger remapped to.</param> public FunctionRemapCompleteStopReason(CorDebug.CorAppDomain appDomain, CorDebug.CorThread thread, CorDebug.CorFunction managedFunction) { Debug.Assert(appDomain != null); Debug.Assert(thread != null); Debug.Assert(managedFunction != null); m_appDomain = appDomain; m_thread = thread; m_function = managedFunction; }
public RemapOpportunityReachedStopReason(CorDebug.CorAppDomain appDomain, CorDebug.CorThread thread, CorDebug.CorFunction oldFunction, CorDebug.CorFunction newFunction, int oldILOffset) { Debug.Assert(appDomain != null); Debug.Assert(thread != null); Debug.Assert(oldFunction != null); Debug.Assert(newFunction != null); m_appDomain = appDomain; m_thread = thread; m_oldFunction = oldFunction; m_newFunction = newFunction; m_oldILOffset = oldILOffset; }
/// <summary> /// Looks up a CorFunction. /// </summary> /// <param name="managedFunction">Which CorFunction to lookup.</param> /// <returns>The coresponding MDbgFunction.</returns> public MDbgFunction LookupFunction(CorDebug.CorFunction managedFunction) { return(Lookup(managedFunction.Module).GetFunction(managedFunction)); }
/// <summary> /// Gets the MDbgFunction for a given CorFunction. /// </summary> /// <param name="managedFunction">The CorFunction to lookup.</param> /// <returns>The coresponding MDbgFunction.</returns> public MDbgFunction GetFunction(CorDebug.CorFunction managedFunction) { return(m_functions.Get(managedFunction)); }