public IEnumerable <DebuggerStopState> GetStopStates(DebuggerStopReason reason) { foreach (var state in stopStates) { if (state.Reason == reason) { yield return(state); } } }
public DebuggerStopState GetStopState(DebuggerStopReason reason) { foreach (var state in stopStates) { if (state.Reason == reason) { return(state); } } return(null); }
public void AddStopReason(DebuggerStopReason reason) { AddStopState(new DebuggerStopState(reason)); }
public DebuggerStopState GetStopState(DebuggerStopReason reason) { foreach (var state in debuggerStopStates) { if (state.Reason == reason) return state; } return null; }
public IEnumerable<DebuggerStopState> GetStopStates(DebuggerStopReason reason) { foreach (var state in stopStates) { if (state.Reason == reason) yield return state; } }
public DebuggerStopState(DebuggerStopReason reason) { this.reason = reason; }