4 writes to _segments
PresentationCore (4)
System\Windows\Media\PathStreamGeometryContext.cs (4)
97
_segments
= new PathSegmentCollection(segmentCount);
140
_segments
= null;
259
_segments
= new PathSegmentCollection();
385
_segments
= new PathSegmentCollection();
8 references to _segments
PresentationCore (8)
System\Windows\Media\PathStreamGeometryContext.cs (8)
94
Debug.Assert(
_segments
== null, "It is illegal to call SetSegmentCount multiple times per BeginFigure or after a *To method.");
98
_currentFigure.Segments =
_segments
;
254
if (
_segments
== null)
260
_currentFigure.Segments =
_segments
;
294
_segments
.Add(segment);
380
if (
_segments
== null)
386
_currentFigure.Segments =
_segments
;
459
_segments
.Add(segment);