/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hashCode = 41; // Suitable nullity checks etc, of course :) if (Roe != null) { hashCode = hashCode * 59 + Roe.GetHashCode(); } if (Npm != null) { hashCode = hashCode * 59 + Npm.GetHashCode(); } if (Gpm != null) { hashCode = hashCode * 59 + Gpm.GetHashCode(); } if (Np != null) { hashCode = hashCode * 59 + Np.GetHashCode(); } if (Eps != null) { hashCode = hashCode * 59 + Eps.GetHashCode(); } if (Mbr != null) { hashCode = hashCode * 59 + Mbr.GetHashCode(); } if (Ts != null) { hashCode = hashCode * 59 + Ts.GetHashCode(); } if (Cs != null) { hashCode = hashCode * 59 + Cs.GetHashCode(); } return(hashCode); } }