4 writes to _anchorPosition
PresentationFramework (4)
System\windows\Documents\TextSelection.cs (4)
1843_anchorPosition = null; 1853_anchorPosition = anchorPosition.GetInsertionPosition(anchorPosition.LogicalDirection); 1858_anchorPosition = thisSelection.Start.GetFrozenPointer(_anchorPosition.LogicalDirection); 1862_anchorPosition = thisSelection.End.GetFrozenPointer(_anchorPosition.LogicalDirection);
12 references to _anchorPosition
PresentationFramework (12)
System\windows\Documents\TextSelection.cs (12)
382Invariant.Assert(this.IsEmpty || _anchorPosition != null); 383Invariant.Assert(_anchorPosition == null || _anchorPosition.IsFrozen); 384return this.IsEmpty ? ((ITextSelection)this).Start : _anchorPosition; 1022Invariant.Assert(_anchorPosition != null); 1025if (!TextRangeEditTables.IsTableCellRange((TextPointer)_anchorPosition, (TextPointer)((ITextSelection)this).MovingPosition, /*includeCellAtMovingPosition:*/false, out anchorCell, out movingCell)) 1067TextRangeBase.Select(this, _anchorPosition, movingPosition); 1070SetActivePositions(_anchorPosition, movingPosition); 1856if (_anchorPosition.CompareTo(thisSelection.Start) < 0) 1858_anchorPosition = thisSelection.Start.GetFrozenPointer(_anchorPosition.LogicalDirection); 1860else if (_anchorPosition.CompareTo(thisSelection.End) > 0) 1862_anchorPosition = thisSelection.End.GetFrozenPointer(_anchorPosition.LogicalDirection);