I over-rid the Equals method and equality operators and Resharper was throwing a warning saying I should also override GetHashCode. So I did. I just did this:
public override int GetHashCode()
{
return base.GetHashCode();
}
But now it's giving me another warning saying GetHashCode calls base.GetHashCode. So, is what I'm going bad? Why is Resharper giving this warning? Should I create my own implementation of GetHashCode? In fact, I'm thinking why I even bothered to override it.