2 writes to _textSegments
PresentationFramework (2)
MS\Internal\Documents\HostedElements.cs (2)
36_textSegments = textSegments; 54_textSegments = null;
14 references to _textSegments
PresentationFramework (14)
MS\Internal\Documents\HostedElements.cs (14)
71ObjectDisposedException.ThrowIf(_textSegments == null, typeof(HostedElements)); 73if (_textSegments.Count == 0) 82if (_textSegments[0].Start is TextPointer) 84_currentPosition = new TextPointer(_textSegments[0].Start as TextPointer); 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); 169if (_textSegments == null)