Skip to content

Commit

Permalink
add TODO about renaming parameters to Equals
Browse files Browse the repository at this point in the history
  • Loading branch information
WalkerCodeRanger committed May 15, 2022
1 parent 348cc5f commit da79618
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Semver/SemVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1235,6 +1235,7 @@ public override string ToString()
/// <returns><see langword="true"/> if the two values are equal, otherwise <see langword="false"/>.</returns>
/// <remarks>Two versions are equal if every part of the version numbers are equal. Thus two
/// versions with the same precedence may not be equal.</remarks>
// TODO rename parameters to `left` and `right` to be consistent with ComparePrecedence etc.
public static bool Equals(SemVersion versionA, SemVersion versionB)
{
if (ReferenceEquals(versionA, versionB)) return true;
Expand Down

0 comments on commit da79618

Please sign in to comment.