2 writes to _currentTextSegment
PresentationFramework (2)
src\Framework\MS\Internal\Documents\HostedElements.cs (2)
43
_currentTextSegment
= 0;
131
_currentTextSegment
++;
10 references to _currentTextSegment
PresentationFramework (10)
src\Framework\MS\Internal\Documents\HostedElements.cs (10)
88
Debug.Assert(
_currentTextSegment
== 0);
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);