public override int GetHashCode() { unchecked { var hashCode = Molecule.GetHashCode(); hashCode = (hashCode * 397) ^ MonoMassOffset.GetHashCode(); hashCode = (hashCode * 397) ^ AverageMassOffset.GetHashCode(); return(hashCode); } }
protected bool Equals(MoleculeMassOffset other) { return(Molecule.Equals(other.Molecule) && MonoMassOffset.Equals(other.MonoMassOffset) && AverageMassOffset.Equals(other.AverageMassOffset)); }