/// <summary> /// calculates the hash code for this object /// </summary> // ReSharper disable once FunctionComplexityOverflow private int CalculateHashCode() { var hashCode = Start.GetHashCode(); if (Chromosome != null) { hashCode ^= Chromosome.GetHashCode(); } if (ID != null) { hashCode ^= ID.GetHashCode(); } if (AlleleOrigins != null) { hashCode ^= AlleleOrigins.GetHashCode(); } if (AltAllele != null) { hashCode ^= AltAllele.GetHashCode(); } if (MedGenIDs != null) { hashCode ^= MedGenIDs.GetHashCode(); } if (OmimIDs != null) { hashCode ^= OmimIDs.GetHashCode(); } if (OrphanetIDs != null) { hashCode ^= OrphanetIDs.GetHashCode(); } if (Phenotypes != null) { hashCode ^= Phenotypes.GetHashCode(); } if (ReferenceAllele != null) { hashCode ^= ReferenceAllele.GetHashCode(); } if (Significance != null) { hashCode ^= Significance.GetHashCode(); } return(hashCode); }