10 references to CompareTo
PresentationFramework (10)
src\Framework\System\Windows\Documents\FixedTextContainer.cs (3)
359
if (fixedTextPointer.
CompareTo
(((ITextContainer)this).Start) == 0)
363
else if (fixedTextPointer.
CompareTo
(((ITextContainer)this).End) == 0)
418
if (start.
CompareTo
(end) > 0)
src\Framework\System\Windows\Documents\FixedTextPointer.cs (1)
90
return
CompareTo
(position);
src\Framework\System\Windows\Documents\FixedTextView.cs (6)
659
return ((tp.
CompareTo
(this.Start) > 0 && tp.
CompareTo
(this.End) < 0) ||
660
(tp.
CompareTo
(this.Start) == 0 && (tp.LogicalDirection == LogicalDirection.Forward || this.IsContainerStart)) ||
661
(tp.
CompareTo
(this.End) == 0 && (tp.LogicalDirection == LogicalDirection.Backward || this.IsContainerEnd))
1280
return (this.Start.
CompareTo
(this.TextContainer.Start) == 0);
1288
return (this.End.
CompareTo
(this.TextContainer.End) == 0);