2 writes to _textSegments
PresentationFramework (2)
src\Framework\MS\Internal\Documents\HostedElements.cs (2)
41
_textSegments
= textSegments;
59
_textSegments
= null;
14 references to _textSegments
PresentationFramework (14)
src\Framework\MS\Internal\Documents\HostedElements.cs (14)
76
if (
_textSegments
== null)
81
if (
_textSegments
.Count == 0)
90
if (
_textSegments
[0].Start is TextPointer)
92
_currentPosition = new TextPointer(
_textSegments
[0].Start as TextPointer);
101
else if (_currentTextSegment <
_textSegments
.Count)
105
Debug.Assert(((ITextPointer)_currentPosition).CompareTo(
_textSegments
[_currentTextSegment].Start) >= 0 &&
106
((ITextPointer)_currentPosition).CompareTo(
_textSegments
[_currentTextSegment].End) < 0);
114
while (_currentTextSegment <
_textSegments
.Count)
116
Debug.Assert(((ITextPointer)_currentPosition).CompareTo(
_textSegments
[_currentTextSegment].Start) >= 0);
117
while (((ITextPointer)_currentPosition).CompareTo(
_textSegments
[_currentTextSegment].End) < 0)
132
if (_currentTextSegment <
_textSegments
.Count)
135
if (
_textSegments
[_currentTextSegment].Start is TextPointer)
137
_currentPosition = new TextPointer(
_textSegments
[_currentTextSegment].Start as TextPointer);
177
if (
_textSegments
== null)