OnObjectLostSelection not firing

(I’m using GoDiagram in a WinForms app.)

I sub-classes the CollapsingRecordNode extensively for my application, making a new sub-class for each type of business object my app displays.

I recently added a new sub-class and I’m having a new problem. When one of these objects is selected, selecting another one does not fire the GoView’s OnObjectLostSelection() nor the object’s OnLostSelection() and the object stays in the GoView.Selection collection.

It evens stays in the collection if I call GoView.Selection.Clear(). What would cause this? Thanks.

Sounds familiar…

Thanks for the hint of where to look. This time the culprit was my “Equals()” override.