2 writes to _textSegments
PresentationFramework (2)
MS\Internal\Documents\HostedElements.cs (2)
26_textSegments = textSegments; 44_textSegments = null;
14 references to _textSegments
PresentationFramework (14)
MS\Internal\Documents\HostedElements.cs (14)
61ObjectDisposedException.ThrowIf(_textSegments == null, typeof(HostedElements)); 63if (_textSegments.Count == 0) 72if (_textSegments[0].Start is TextPointer) 74_currentPosition = new TextPointer(_textSegments[0].Start as TextPointer); 83else if (_currentTextSegment < _textSegments.Count) 87Debug.Assert(((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].Start) >= 0 && 88((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].End) < 0); 96while (_currentTextSegment < _textSegments.Count) 98Debug.Assert(((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].Start) >= 0); 99while (((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].End) < 0) 114if (_currentTextSegment < _textSegments.Count) 117if (_textSegments[_currentTextSegment].Start is TextPointer) 119_currentPosition = new TextPointer(_textSegments[_currentTextSegment].Start as TextPointer); 158if (_textSegments == null)