/// <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 (LinkExpiredPrefix != null) { hashCode = hashCode * 59 + LinkExpiredPrefix.GetHashCode(); } if (LinkExpiredRemove != null) { hashCode = hashCode * 59 + LinkExpiredRemove.GetHashCode(); } if (LinkExpiredSuffix != null) { hashCode = hashCode * 59 + LinkExpiredSuffix.GetHashCode(); } if (LinkInvalidPrefix != null) { hashCode = hashCode * 59 + LinkInvalidPrefix.GetHashCode(); } if (LinkInvalidRemove != null) { hashCode = hashCode * 59 + LinkInvalidRemove.GetHashCode(); } if (LinkInvalidSuffix != null) { hashCode = hashCode * 59 + LinkInvalidSuffix.GetHashCode(); } if (LinkPredatedPrefix != null) { hashCode = hashCode * 59 + LinkPredatedPrefix.GetHashCode(); } if (LinkPredatedRemove != null) { hashCode = hashCode * 59 + LinkPredatedRemove.GetHashCode(); } if (LinkPredatedSuffix != null) { hashCode = hashCode * 59 + LinkPredatedSuffix.GetHashCode(); } if (LinkWcmmodes != null) { hashCode = hashCode * 59 + LinkWcmmodes.GetHashCode(); } return(hashCode); } }