StephenCleary / Comparers

The last comparison library you'll ever need!
MIT License
427 stars 33 forks source link

Fix EqualityComparerBase #18

Closed StephenCleary closed 5 years ago

StephenCleary commented 5 years ago

Our current EqualityComparerBase implementation of System.Collections.IEqualityComparer.Equals has the possibility of stack overflow if applied to objects of unrelated types that both forward their object.Equals(object) implementations to a Nito.Comparer comparer.