WalkerCodeRanger / semver

A semantic version library for .NET fully compliant with v2.0.0 of the spec found at http://semver.org/.
MIT License
296 stars 47 forks source link

Implement IEquatable<T> #34

Closed WalkerCodeRanger closed 3 years ago

WalkerCodeRanger commented 5 years ago

When implementing the interface IComparable<T> one is supposed to also implement IEquatable<T>

WalkerCodeRanger commented 3 years ago

Fixed in v2.1.0.

Also, fixed the exception thrown when checking equality with other types of objects.