Skip to content

Commit 20486e3

Browse files
Roll back the hash code suggestion that requires an extra dependency
1 parent 77856fb commit 20486e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/RabbitMQ.Client/client/impl/AmqpVersion.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public override int GetHashCode()
100100
{
101101
unchecked
102102
{
103-
return (Major, Minor).GetHashCode();
103+
return (Major * 397) ^ Minor;
104104
}
105105
}
106106

0 commit comments

Comments
 (0)