2 writes to _textSegments
PresentationFramework (2)
MS\Internal\Documents\HostedElements.cs (2)
25_textSegments = textSegments; 43_textSegments = null;
14 references to _textSegments
PresentationFramework (14)
MS\Internal\Documents\HostedElements.cs (14)
60ObjectDisposedException.ThrowIf(_textSegments == null, typeof(HostedElements)); 62if (_textSegments.Count == 0) 71if (_textSegments[0].Start is TextPointer) 73_currentPosition = new TextPointer(_textSegments[0].Start as TextPointer); 82else if (_currentTextSegment < _textSegments.Count) 86Debug.Assert(((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].Start) >= 0 && 87((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].End) < 0); 95while (_currentTextSegment < _textSegments.Count) 97Debug.Assert(((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].Start) >= 0); 98while (((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].End) < 0) 113if (_currentTextSegment < _textSegments.Count) 116if (_textSegments[_currentTextSegment].Start is TextPointer) 118_currentPosition = new TextPointer(_textSegments[_currentTextSegment].Start as TextPointer); 157if (_textSegments == null)