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