public void AddBreakpoint (XsltDebuggerBreakpoint point) { if (point == null) throw new ArgumentNullException ("point"); foreach (XsltDebuggerBreakpoint bp in breakpoints) if (bp.Equals (point)) return; breakpoints.Add (point); }
public void RemoveBreakpoint (XsltDebuggerBreakpoint point) { if (point == null) throw new ArgumentNullException ("point"); for (int i = 0; i < breakpoints.Count; i++) if (point.Equals (breakpoints [i])) { breakpoints.RemoveAt (i); return; } }
public void RemoveBreakpoint(XsltDebuggerBreakpoint point) { if (point == null) { throw new ArgumentNullException("point"); } for (int i = 0; i < breakpoints.Count; i++) { if (point.Equals(breakpoints [i])) { breakpoints.RemoveAt(i); return; } } }
public void AddBreakpoint(XsltDebuggerBreakpoint point) { if (point == null) { throw new ArgumentNullException("point"); } foreach (XsltDebuggerBreakpoint bp in breakpoints) { if (bp.Equals(point)) { return; } } breakpoints.Add(point); }