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