/// <inheritdoc /> public int CompareTo(SourceLocation other) { var filePathOrdinal = string.Compare(FilePath, other.FilePath, StringComparison.Ordinal); if (filePathOrdinal != 0) { return(filePathOrdinal); } return(AbsoluteIndex.CompareTo(other.AbsoluteIndex)); }
public int CompareTo(SourceLocation other) { return(AbsoluteIndex.CompareTo(other.AbsoluteIndex)); }