Open GoogleCodeExporter opened 9 years ago
Why are you overriding gethashcode? When you do that you also must override
Equals, just like the compiler tells you.
Does that fix the issue?
Original comment by dan...@cazzulino.com
on 10 Jul 2012 at 10:49
No, adding an Equals override does not fix the issue. The override of
GetHashCode is the only requirement to expose this issue, so that is the
only thing I included in the test code.
This test code is based on some internal code that I was creating tests for
when I stumbled across this issue. That code contains overrides of Equals
and GetHashCode.
Original comment by arootb...@gmail.com
on 10 Jul 2012 at 10:56
Original issue reported on code.google.com by
arootb...@gmail.com
on 10 Jul 2012 at 10:36