コード例 #1
0
        void RemoveMarker(ILCodeBreakpoint ilbp)
        {
            IGlyphTextMethodMarker marker;

            if (toMethodMarkers.TryGetValue(ilbp, out marker))
            {
                glyphTextMarkerService.Remove(marker);
                toMethodMarkers.Remove(ilbp);
            }
        }
コード例 #2
0
 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);
     }
 }