Exemplo n.º 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);
 }
Exemplo n.º 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));
 }