5 writes to _currentPosition
PresentationFramework (5)
MS\Internal\Documents\HostedElements.cs (5)
26_currentPosition = null; 73_currentPosition = new TextPointer(_textSegments[0].Start as TextPointer); 78_currentPosition = null; 118_currentPosition = new TextPointer(_textSegments[_currentTextSegment].Start as TextPointer); 123_currentPosition = null;
15 references to _currentPosition
PresentationFramework (15)
MS\Internal\Documents\HostedElements.cs (15)
66if (_currentPosition == null) 86Debug.Assert(((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].Start) >= 0 && 87((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].End) < 0); 91_currentPosition.MoveToNextContextPosition(LogicalDirection.Forward); 97Debug.Assert(((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].Start) >= 0); 98while (((ITextPointer)_currentPosition).CompareTo(_textSegments[_currentTextSegment].End) < 0) 100if (_currentPosition.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.ElementStart || 101_currentPosition.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.EmbeddedElement) 107_currentPosition.MoveToNextContextPosition(LogicalDirection.Forward); 164if (_currentPosition == null) 172switch (_currentPosition.GetPointerContext(LogicalDirection.Forward)) 175Debug.Assert(_currentPosition.GetAdjacentElementFromOuterPosition(LogicalDirection.Forward) is IInputElement); 176currentElement = _currentPosition.GetAdjacentElementFromOuterPosition(LogicalDirection.Forward); 179Debug.Assert(_currentPosition.GetAdjacentElement(LogicalDirection.Forward) is IInputElement); 180currentElement = (IInputElement)_currentPosition.GetAdjacentElement(LogicalDirection.Forward);