public override int GetHashCode() => Version.GetHashCode() ^ Artifact.GetHashCode();
/// <summary> /// Initializes a new <see cref="ArtifactInstance"/>. /// </summary> /// <param name="a">The artifact.</param> /// <param name="version">The version. Can not be null.</param> public ArtifactInstance(Artifact a, SVersion version) { Artifact = a; Version = version ?? throw new ArgumentNullException(nameof(version)); }