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);
     }
 }
예제 #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = base.GetHashCode();
         result = (result * 397) ^ (PeptideModSeq != null ? PeptideModSeq.GetHashCode() : 0);
         result = (result * 397) ^ Irt.GetHashCode();
         result = (result * 397) ^ Standard.GetHashCode();
         result = (result * 397) ^ (TimeSource.HasValue ? TimeSource.Value : 0);
         return(result);
     }
 }
예제 #3
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = (PeptideModSeq != null ? PeptideModSeq.GetHashCode() : 0);
         result = (result * 397) ^ OptType.GetHashCode();
         result = (result * 397) ^ PrecursorAdduct.GetHashCode();
         if (FragmentIon != null)
         {
             result = (result * 397) ^ FragmentIon.GetHashCode();
         }
         result = (result * 397) ^ ProductAdduct.GetHashCode();
         return(result);
     }
 }