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));
 }