Removed redundant entries.
The equality comparison was broken.  The only reachable code path was the return x.Equals(y) line at the end.  Reference comparison seems to have been intended for the first few lines.