Exemplo n.º 1
0
        public override int GetHashCode()
        {
            var hashCode = Charge;

            hashCode = (hashCode * 397) ^ NeutralPeptideMass.GetHashCode();
            hashCode = (hashCode * 397) ^ SegmentIndex;
            return(hashCode);
        }
Exemplo n.º 2
0
 protected bool Equals(Partition other)
 {
     return(Charge == other.Charge && NeutralPeptideMass.Equals(other.NeutralPeptideMass) && SegmentIndex == other.SegmentIndex);
 }