10 references to CompareTo
PresentationFramework (10)
System\Windows\Documents\FixedTextContainer.cs (3)
335if (fixedTextPointer.CompareTo(((ITextContainer)this).Start) == 0) 339else if (fixedTextPointer.CompareTo(((ITextContainer)this).End) == 0) 394if (start.CompareTo(end) > 0)
System\Windows\Documents\FixedTextPointer.cs (1)
77return CompareTo(position);
System\Windows\Documents\FixedTextView.cs (6)
637return ((tp.CompareTo(this.Start) > 0 && tp.CompareTo(this.End) < 0) || 638(tp.CompareTo(this.Start) == 0 && (tp.LogicalDirection == LogicalDirection.Forward || this.IsContainerStart)) || 639(tp.CompareTo(this.End) == 0 && (tp.LogicalDirection == LogicalDirection.Backward || this.IsContainerEnd)) 1249return (this.Start.CompareTo(this.TextContainer.Start) == 0); 1257return (this.End.CompareTo(this.TextContainer.End) == 0);