4 writes to _anchorPosition
PresentationFramework (4)
src\Framework\System\windows\Documents\TextSelection.cs (4)
1870
_anchorPosition
= null;
1880
_anchorPosition
= anchorPosition.GetInsertionPosition(anchorPosition.LogicalDirection);
1885
_anchorPosition
= thisSelection.Start.GetFrozenPointer(_anchorPosition.LogicalDirection);
1889
_anchorPosition
= thisSelection.End.GetFrozenPointer(_anchorPosition.LogicalDirection);
12 references to _anchorPosition
PresentationFramework (12)
src\Framework\System\windows\Documents\TextSelection.cs (12)
401
Invariant.Assert(this.IsEmpty ||
_anchorPosition
!= null);
402
Invariant.Assert(
_anchorPosition
== null ||
_anchorPosition
.IsFrozen);
403
return this.IsEmpty ? ((ITextSelection)this).Start :
_anchorPosition
;
1044
Invariant.Assert(
_anchorPosition
!= null);
1047
if (!TextRangeEditTables.IsTableCellRange((TextPointer)
_anchorPosition
, (TextPointer)((ITextSelection)this).MovingPosition, /*includeCellAtMovingPosition:*/false, out anchorCell, out movingCell))
1089
TextRangeBase.Select(this,
_anchorPosition
, movingPosition);
1092
SetActivePositions(
_anchorPosition
, movingPosition);
1883
if (
_anchorPosition
.CompareTo(thisSelection.Start) < 0)
1885
_anchorPosition = thisSelection.Start.GetFrozenPointer(
_anchorPosition
.LogicalDirection);
1887
else if (
_anchorPosition
.CompareTo(thisSelection.End) > 0)
1889
_anchorPosition = thisSelection.End.GetFrozenPointer(
_anchorPosition
.LogicalDirection);