2 writes to _currentTextSegment
PresentationFramework (2)
MS\Internal\Documents\HostedElements.cs (2)
28
_currentTextSegment
= 0;
113
_currentTextSegment
++;
10 references to _currentTextSegment
PresentationFramework (10)
MS\Internal\Documents\HostedElements.cs (10)
70
Debug.Assert(
_currentTextSegment
== 0);
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);