6 references to CompareTo
PresentationFramework (6)
System\Windows\Documents\Highlights.cs (1)
192
characterRunEndPosition.
CompareTo
(changePosition) < 0)
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)
System\Windows\Documents\StaticTextPointer.cs (2)
123
return position1.
CompareTo
(position2) <= 0 ? position1 : position2;
130
return position1.
CompareTo
(position2) >= 0 ? position1 : position2;