Esempio n. 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = IsotopeSymbol.GetHashCode();
         result = (result * 397) ^ AtomPercentEnrichment.GetHashCode();
         return(result);
     }
 }
Esempio n. 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = (TracerSymbol != null ? TracerSymbol.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ DeltaMass.GetHashCode();
         hashCode = (hashCode * 397) ^ AtomCount;
         hashCode = (hashCode * 397) ^ AtomPercentEnrichment.GetHashCode();
         hashCode = (hashCode * 397) ^ InitialEnrichment.GetHashCode();
         hashCode = (hashCode * 397) ^ FinalEnrichment.GetHashCode();
         hashCode = (hashCode * 397) ^ IsotopesEluteEarlier.GetHashCode();
         hashCode = (hashCode * 397) ^ IsotopesEluteLater.GetHashCode();
         return(hashCode);
     }
 }