void RemoveMarker(ILCodeBreakpoint ilbp) { IGlyphTextMethodMarker marker; if (toMethodMarkers.TryGetValue(ilbp, out marker)) { glyphTextMarkerService.Remove(marker); toMethodMarkers.Remove(ilbp); } }
void ClearMarkers() { if (currentStatementMarker != null || callReturnMarker != null) { var list = new List <IGlyphTextMarker>(2); if (currentStatementMarker != null) { list.Add(currentStatementMarker); } if (callReturnMarker != null) { list.Add(callReturnMarker); } currentStatementMarker = null; callReturnMarker = null; glyphTextMarkerService.Remove(list); } }