Skip to content

Commit

Permalink
Use HashCode.Combine
Browse files Browse the repository at this point in the history
  • Loading branch information
ScrubN committed Dec 28, 2024
1 parent 7f249dd commit c54322b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TwitchDownloaderCore/TwitchObjects/ChatRootInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public override string ToString()
=> $"{Major}.{Minor}.{Patch}";

public override int GetHashCode()
=> ToString().GetHashCode();
=> HashCode.Combine(Major, Minor, Patch);

public static bool operator >(ChatRootVersion left, ChatRootVersion right)
{
Expand Down

0 comments on commit c54322b

Please sign in to comment.