4 writes to _segments
PresentationCore (4)
Core\CSharp\System\Windows\Media\PathStreamGeometryContext.cs (4)
100
_segments
= new PathSegmentCollection(segmentCount);
143
_segments
= null;
262
_segments
= new PathSegmentCollection();
388
_segments
= new PathSegmentCollection();
8 references to _segments
PresentationCore (8)
Core\CSharp\System\Windows\Media\PathStreamGeometryContext.cs (8)
97
Debug.Assert(
_segments
== null, "It is illegal to call SetSegmentCount multiple times per BeginFigure or after a *To method.");
101
_currentFigure.Segments =
_segments
;
257
if (
_segments
== null)
263
_currentFigure.Segments =
_segments
;
297
_segments
.Add(segment);
383
if (
_segments
== null)
389
_currentFigure.Segments =
_segments
;
462
_segments
.Add(segment);