7 writes to _viewportLineVisuals
PresentationFramework (7)
MS\Internal\Documents\TextBoxView.cs (7)
436
_viewportLineVisuals
= null;
460
_viewportLineVisuals
= null;
476
_viewportLineVisuals
= null;
1159
_viewportLineVisuals
= null;
1169
_viewportLineVisuals
= null;
2667
_viewportLineVisuals
= null;
2687
_viewportLineVisuals
= new List<TextBoxLineDrawingVisual>(count);
21 references to _viewportLineVisuals
PresentationFramework (21)
MS\Internal\Documents\TextBoxView.cs (21)
2662
List<TextBoxLineDrawingVisual> oldLineVisuals =
_viewportLineVisuals
;
2688
_viewportLineVisuals
.AddRange(new TextBoxLineDrawingVisual[count]); // must we allocate an empty array?
2719
_viewportLineVisuals
[lineIndex - _viewportLineVisualsIndex + i] = oldLineVisuals[lineIndex - oldLineVisualsIndex + i];
2752
if (
_viewportLineVisuals
!= null)
2754
lineVisual =
_viewportLineVisuals
[lineIndex - _viewportLineVisualsIndex];
2763
if (
_viewportLineVisuals
!= null)
2765
_viewportLineVisuals
[lineIndex - _viewportLineVisualsIndex] = lineVisual;
2772
if (
_viewportLineVisuals
!= null)
2776
lineIndex < _viewportLineVisualsIndex +
_viewportLineVisuals
.Count)
2778
_viewportLineVisuals
.Insert(lineIndex - _viewportLineVisualsIndex, null);
2786
if (
_viewportLineVisuals
!= null)
2790
lineIndex < _viewportLineVisualsIndex +
_viewportLineVisuals
.Count &&
2791
_viewportLineVisuals
[lineIndex - _viewportLineVisualsIndex] != null)
2794
_viewportLineVisuals
[lineIndex - _viewportLineVisualsIndex].DiscardOnArrange = true;
2795
_viewportLineVisuals
[lineIndex - _viewportLineVisualsIndex] = null;
2803
if (
_viewportLineVisuals
!= null)
2812
if (lineIndex < _viewportLineVisualsIndex +
_viewportLineVisuals
.Count)
2815
count = Math.Min(count,
_viewportLineVisuals
.Count - start);
2821
if (
_viewportLineVisuals
[start + i] != null)
2823
_viewportLineVisuals
[start + i].DiscardOnArrange = true;
2827
_viewportLineVisuals
.RemoveRange(start, count);