2 writes to _currentTextSegment
PresentationFramework (2)
MS\Internal\Documents\HostedElements.cs (2)
34_currentTextSegment = 0; 119_currentTextSegment++;
10 references to _currentTextSegment
PresentationFramework (10)
MS\Internal\Documents\HostedElements.cs (10)
76Debug.Assert(_currentTextSegment == 0); 89else if (_currentTextSegment < _textSegments.Count) 93Debug.Assert(((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].Start) >= 0 && 94((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].End) < 0); 102while (_currentTextSegment < _textSegments.Count) 104Debug.Assert(((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].Start) >= 0); 105while (((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].End) < 0) 120if (_currentTextSegment < _textSegments.Count) 123if (_textSegments[_currentTextSegment].Start is TextPointer) 125_currentPosition = new TextPointer(_textSegments[_currentTextSegment].Start as TextPointer);