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() { unchecked { var hashCode = Id?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ (Chromosome?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ Start.GetHashCode(); hashCode = (hashCode * 397) ^ End.GetHashCode(); hashCode = (hashCode * 397) ^ VariantType.GetHashCode(); hashCode = (hashCode * 397) ^ Validated.GetHashCode(); hashCode = (hashCode * 397) ^ ObservedGains.GetHashCode(); hashCode = (hashCode * 397) ^ ClinicalInterpretation.GetHashCode(); hashCode = (hashCode * 397) ^ ObservedLosses.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = Id?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ (Chromosome?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ Start.GetHashCode(); hashCode = (hashCode * 397) ^ End.GetHashCode(); hashCode = (hashCode * 397) ^ VariantType.GetHashCode(); hashCode = (hashCode * 397) ^ SampleSize.GetHashCode(); hashCode = (hashCode * 397) ^ ObservedGains.GetHashCode(); hashCode = (hashCode * 397) ^ ObservedLosses.GetHashCode(); hashCode = (hashCode * 397) ^ (VariantFreqAll?.GetHashCode() ?? 0); return(hashCode); } }
public override int GetHashCode() { int hashCode = -938617308; hashCode = hashCode * -1521134295 + Type.GetHashCode(); switch (Type) { case VariantType.Int: return(hashCode * -1521134295 + IntValue.GetHashCode()); case VariantType.Float: return(hashCode * -1521134295 + FloatValue.GetHashCode()); case VariantType.String: return(hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(StringValue ?? "")); case VariantType.DateTime: return(hashCode * -1521134295 + DateTimeValue.GetHashCode()); case VariantType.Boolean: return(hashCode * -1521134295 + BooleanValue.GetHashCode()); } return(hashCode); }
public override int GetHashCode() { return((m_Type.GetHashCode() << 5) ^ RawValue.GetHashCode()); }