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)
88Debug.Assert(_currentTextSegment == 0); 101else if (_currentTextSegment < _textSegments.Count) 105Debug.Assert(((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].Start) >= 0 && 106((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].End) < 0); 114while (_currentTextSegment < _textSegments.Count) 116Debug.Assert(((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].Start) >= 0); 117while (((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].End) < 0) 132if (_currentTextSegment < _textSegments.Count) 135if (_textSegments[_currentTextSegment].Start is TextPointer) 137_currentPosition = new TextPointer(_textSegments[_currentTextSegment].Start as TextPointer);