6 references to CompareTo
PresentationFramework (6)
src\Framework\System\Windows\Documents\Highlights.cs (1)
198
characterRunEndPosition.
CompareTo
(changePosition) < 0)
src\Framework\System\Windows\Documents\SpellerStatusTable.cs (3)
237
Invariant.Assert(transitionPosition.IsNull || textPosition.
CompareTo
(transitionPosition) != 0);
356
else if (direction == LogicalDirection.Forward && position.
CompareTo
(GetRunEndPosition(index)) >= 0 ||
357
direction == LogicalDirection.Backward && position.
CompareTo
(GetRunEndPosition(index)) > 0)
src\Framework\System\Windows\Documents\StaticTextPointer.cs (2)
125
return position1.
CompareTo
(position2) <= 0 ? position1 : position2;
132
return position1.
CompareTo
(position2) >= 0 ? position1 : position2;