2 writes to _textSegments
PresentationFramework (2)
MS\Internal\Documents\HostedElements.cs (2)
25
_textSegments
= textSegments;
43
_textSegments
= null;
14 references to _textSegments
PresentationFramework (14)
MS\Internal\Documents\HostedElements.cs (14)
60
ObjectDisposedException.ThrowIf(
_textSegments
== null, typeof(HostedElements));
62
if (
_textSegments
.Count == 0)
71
if (
_textSegments
[0].Start is TextPointer)
73
_currentPosition = new TextPointer(
_textSegments
[0].Start as TextPointer);
82
else if (_currentTextSegment <
_textSegments
.Count)
86
Debug.Assert(((ITextPointer)_currentPosition).CompareTo(
_textSegments
[_currentTextSegment].Start) >= 0 &&
87
((ITextPointer)_currentPosition).CompareTo(
_textSegments
[_currentTextSegment].End) < 0);
95
while (_currentTextSegment <
_textSegments
.Count)
97
Debug.Assert(((ITextPointer)_currentPosition).CompareTo(
_textSegments
[_currentTextSegment].Start) >= 0);
98
while (((ITextPointer)_currentPosition).CompareTo(
_textSegments
[_currentTextSegment].End) < 0)
113
if (_currentTextSegment <
_textSegments
.Count)
116
if (
_textSegments
[_currentTextSegment].Start is TextPointer)
118
_currentPosition = new TextPointer(
_textSegments
[_currentTextSegment].Start as TextPointer);
157
if (
_textSegments
== null)