/// <summary>Adds a continue into the given IL stream, continuing at the given number of loops up.</summary> /// <param name="into">The IL stream to emit the continue into.</param> /// <param name="depth">The loop to continue in. /// Can be affected with e.g. continue 2; for continuing the outer loop of a loop in a loop.</param> /// <returns>True if it could locate the loop and added the command.</returns> public bool Continue(NitroIL into, int depth) { if (depth > BreakPoints.Count) { return(false); } BreakPoint point = BreakPoints[BreakPoints.Count - depth]; point.Continue(into); return(true); }
/// <summary>Adds a breakpoint to the set of breakpoints for this method.</summary> /// <param name="bp">The breakpoint to add.</param> public void AddBreakPoint(BreakPoint bp) { BreakPoints.Add(bp); }
/// <summary>Adds a breakpoint to the set of breakpoints for this method.</summary> /// <param name="bp">The breakpoint to add.</param> public void AddBreakPoint(BreakPoint bp){ BreakPoints.Add(bp); }