public bool Equals(SemanticVersion other) { return(!Object.ReferenceEquals(null, other) && Version.Equals(other.Version) && SpecialVersion.Equals(other.SpecialVersion, StringComparison.OrdinalIgnoreCase) && IsSnapshot == other.IsSnapshot); }
public bool Equals(SemanticVersion other) { return(!Object.ReferenceEquals(null, other) && Version.Equals(other.Version) && PackageReleaseVersion.Equals(other.PackageReleaseVersion) && SpecialVersion.Equals(other.SpecialVersion, StringComparison.OrdinalIgnoreCase)); }