/// <inheritdoc /> public override int GetHashCode() { unchecked { //var hashCode = (this.Name != null ? this.Name.GetHashCode() : 0); var hashCode = Charge; hashCode = (hashCode * 397) ^ (OffsetComposition != null ? OffsetComposition.GetHashCode() : 0); hashCode = (hashCode * 397) ^ IsPrefixIon.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { return(IsPrefixIon.GetHashCode() * OffsetComposition.GetHashCode() * Charge.GetHashCode()); }