2 writes to _textSegments
PresentationFramework (2)
src\Framework\MS\Internal\Documents\HostedElements.cs (2)
41_textSegments = textSegments; 59_textSegments = null;
14 references to _textSegments
PresentationFramework (14)
src\Framework\MS\Internal\Documents\HostedElements.cs (14)
76if (_textSegments == null) 81if (_textSegments.Count == 0) 90if (_textSegments[0].Start is TextPointer) 92_currentPosition = new TextPointer(_textSegments[0].Start as TextPointer); 101else if (_currentTextSegment < _textSegments.Count) 105Debug.Assert(((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].Start) >= 0 && 106((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].End) < 0); 114while (_currentTextSegment < _textSegments.Count) 116Debug.Assert(((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].Start) >= 0); 117while (((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].End) < 0) 132if (_currentTextSegment < _textSegments.Count) 135if (_textSegments[_currentTextSegment].Start is TextPointer) 137_currentPosition = new TextPointer(_textSegments[_currentTextSegment].Start as TextPointer); 177if (_textSegments == null)