Permalink
Browse files

use resharper implementation

  • Loading branch information...
camilin87 committed Jan 31, 2016
1 parent 83bd255 commit 98c9adc1fff2aee2362fd494f3a43cdb7f4d3d8a
Showing with 4 additions and 1 deletion.
  1. +4 −1 Program.cs
@@ -16,7 +16,10 @@ public override bool Equals(object obj)

public override int GetHashCode()
{
return this.Name.GetHashCode() ^ this.Weight.GetHashCode();
unchecked
{
return (Weight * 397) ^ (Name != null ? Name.GetHashCode() : 0);
}
}
}

0 comments on commit 98c9adc

Please sign in to comment.