public override int GetHashCode() { unchecked { var hashCode = RsId.GetHashCode(); hashCode = (hashCode * 397) ^ (ReferenceAllele?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (AlternateAllele?.GetHashCode() ?? 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = Start.GetHashCode() ^ Chromosome.GetHashCode(); hashCode = (hashCode * 397) ^ (AlternateAllele?.GetHashCode() ?? 0); return(hashCode); } }
public override int GetHashCode() { var hashCode = Start.GetHashCode() ^ ReferenceName.GetHashCode(); hashCode = (hashCode * 397) ^ End.GetHashCode(); hashCode = (hashCode * 397) ^ VariantType.GetHashCode(); hashCode = (hashCode * 397) ^ Source.GetHashCode(); hashCode = (hashCode * 397) ^ AlternateAllele.GetHashCode(); return(hashCode); }
public override int GetHashCode() { // ReSharper disable NonReadonlyMemberInGetHashCode var hashCode = Start.GetHashCode() ^ Chromosome.GetHashCode(); hashCode = (hashCode * 397) ^ (AlternateAllele?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (AnnotationType?.GetHashCode() ?? 0); // ReSharper restore NonReadonlyMemberInGetHashCode return(hashCode); }
public override int GetHashCode() { unchecked { var hashCode = Chromosome?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ Start; hashCode = (hashCode * 397) ^ (Id?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (ReferenceAllele?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (AlternateAllele?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (Gene?.GetHashCode() ?? 0); return(hashCode); } }
public override int GetHashCode() { // ReSharper disable NonReadonlyMemberInGetHashCode var hashCode = Start.GetHashCode(); if (Chromosome != null) { hashCode ^= Chromosome.GetHashCode(); } if (Id != null) { hashCode ^= Id.GetHashCode(); } if (AlternateAllele != null) { hashCode ^= AlternateAllele.GetHashCode(); } if (ReferenceAllele != null) { hashCode ^= ReferenceAllele.GetHashCode(); } // ReSharper restore NonReadonlyMemberInGetHashCode return(hashCode); }