2 writes to _textSegments
PresentationFramework (2)
MS\Internal\Documents\HostedElements.cs (2)
26
_textSegments
= textSegments;
44
_textSegments
= null;
14 references to _textSegments
PresentationFramework (14)
MS\Internal\Documents\HostedElements.cs (14)
61
ObjectDisposedException.ThrowIf(
_textSegments
== null, typeof(HostedElements));
63
if (
_textSegments
.Count == 0)
72
if (
_textSegments
[0].Start is TextPointer)
74
_currentPosition = new TextPointer(
_textSegments
[0].Start as TextPointer);
83
else if (_currentTextSegment <
_textSegments
.Count)
87
Debug.Assert(((ITextPointer)_currentPosition).CompareTo(
_textSegments
[_currentTextSegment].Start) >= 0 &&
88
((ITextPointer)_currentPosition).CompareTo(
_textSegments
[_currentTextSegment].End) < 0);
96
while (_currentTextSegment <
_textSegments
.Count)
98
Debug.Assert(((ITextPointer)_currentPosition).CompareTo(
_textSegments
[_currentTextSegment].Start) >= 0);
99
while (((ITextPointer)_currentPosition).CompareTo(
_textSegments
[_currentTextSegment].End) < 0)
114
if (_currentTextSegment <
_textSegments
.Count)
117
if (
_textSegments
[_currentTextSegment].Start is TextPointer)
119
_currentPosition = new TextPointer(
_textSegments
[_currentTextSegment].Start as TextPointer);
158
if (
_textSegments
== null)