public override int GetHashCode() { unchecked { int result = base.GetHashCode(); result = (result * 397) ^ (PeptideModSeq != null ? PeptideModSeq.GetHashCode() : 0); result = (result * 397) ^ CollisionalCrossSection.GetHashCode(); result = (result * 397) ^ HighEnergyDriftTimeOffsetMsec.GetHashCode(); return(result); } }
public override int GetHashCode() { unchecked { int result = base.GetHashCode(); result = (result * 397) ^ (ModifiedTarget != null ? ModifiedTarget.GetHashCode() : 0); result = (result * 397) ^ CollisionalCrossSection.GetHashCode(); result = (result * 397) ^ HighEnergyDriftTimeOffsetMsec.GetHashCode(); result = (result * 397) ^ _adduct.GetHashCode(); return(result); } }
public override int GetHashCode() { unchecked { var hashCode = IonMobilityMS1.GetHashCode(); hashCode = (hashCode * 397) ^ IonMobilityFragment.GetHashCode(); hashCode = (hashCode * 397) ^ IonMobilityUnits.GetHashCode(); hashCode = (hashCode * 397) ^ CollisionalCrossSection.GetHashCode(); hashCode = (hashCode * 397) ^ IonMobilityWindow.GetHashCode(); return(hashCode); } }
public bool Equals(TransitionGroupIonMobilityInfo other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(IonMobilityMS1.Equals(other.IonMobilityMS1) && IonMobilityFragment.Equals(other.IonMobilityFragment) && CollisionalCrossSection.Equals(other.CollisionalCrossSection) && IonMobilityWindow.Equals(other.IonMobilityWindow) && IonMobilityUnits.Equals(other.IonMobilityUnits)); }