2 writes to _currentTextSegment
PresentationFramework (2)
MS\Internal\Documents\HostedElements.cs (2)
38_currentTextSegment = 0; 123_currentTextSegment++;
10 references to _currentTextSegment
PresentationFramework (10)
MS\Internal\Documents\HostedElements.cs (10)
80Debug.Assert(_currentTextSegment == 0); 93else if (_currentTextSegment < _textSegments.Count) 97Debug.Assert(((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].Start) >= 0 && 98((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].End) < 0); 106while (_currentTextSegment < _textSegments.Count) 108Debug.Assert(((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].Start) >= 0); 109while (((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].End) < 0) 124if (_currentTextSegment < _textSegments.Count) 127if (_textSegments[_currentTextSegment].Start is TextPointer) 129_currentPosition = new TextPointer(_textSegments[_currentTextSegment].Start as TextPointer);