コード例 #1
0
 public override int GetHashCode()
 {
     return(OneBasedBeginPosition.GetHashCode()
            ^ OneBasedEndPosition.GetHashCode()
            ^ OriginalSequence.GetHashCode() // null handled in constructor
            ^ VariantSequence.GetHashCode()  // null handled in constructor
            ^ Description.GetHashCode());    // always constructed in constructor
 }
コード例 #2
0
 public override int GetHashCode()
 {
     return(OneBasedBeginPosition.GetHashCode()
            ^ OneBasedEndPosition.GetHashCode()
            ^ OriginalSequence.GetHashCode()
            ^ VariantSequence.GetHashCode()
            ^ Description.GetHashCode());
 }
コード例 #3
0
 public override int GetHashCode()
 {
     return(OneBasedBeginPosition.GetHashCode()
            ^ OneBasedEndPosition.GetHashCode()
            ^ Description.GetHashCode()); // null handled in constructor
 }
コード例 #4
0
ファイル: ProteolysisProduct.cs プロジェクト: dippman/mzLib
 public override int GetHashCode()
 {
     return(OneBasedBeginPosition.GetHashCode() ^ OneBasedEndPosition.GetHashCode() ^ Type.GetHashCode());
 }