I have been asked to override GetHashCode and Equals on a particular class because I am using instances of this class as the key (lookup) in a dictionary.
I've noticed that the class itself does not contain any public properties and the private fields are reference types. Mostly public methods and events.
Do I still need to override these methods? I haven't seen a problem so far during testing. How is equality tested in this scenario? If I do nothing, is the default OK?
Thanks in advance.