/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (BaseURI != null) { hashCode = hashCode * 59 + BaseURI.GetHashCode(); } if (ContentDomain != null) { hashCode = hashCode * 59 + ContentDomain.GetHashCode(); } if (FormManagerURI != null) { hashCode = hashCode * 59 + FormManagerURI.GetHashCode(); } if (SdcSchemaVersion != null) { hashCode = hashCode * 59 + SdcSchemaVersion.GetHashCode(); } if (PkgLineage != null) { hashCode = hashCode * 59 + PkgLineage.GetHashCode(); } if (Version != null) { hashCode = hashCode * 59 + Version.GetHashCode(); } if (Format != null) { hashCode = hashCode * 59 + Format.GetHashCode(); } return(hashCode); } }