Rename to more readable names

This commit is contained in:
Susko3 2023-12-01 18:35:57 +01:00
parent 30a4e77097
commit abb4c943a7
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ public Link(string url, int startIndex, int length, LinkAction action, object ar
public bool Overlaps(Link otherLink) => Overlaps(otherLink.Index, otherLink.Length);
public bool Overlaps(int index, int length) => Index < index + length && index < Index + Length;
public bool Overlaps(int otherIndex, int otherLength) => Index < otherIndex + otherLength && otherIndex < Index + Length;
public int CompareTo(Link? otherLink) => Index > otherLink?.Index ? 1 : -1;
}