コード例 #1
0
ファイル: DbIrtPeptide.cs プロジェクト: rfellers/pwiz
 public override int GetHashCode()
 {
     unchecked
     {
         int result = base.GetHashCode();
         result = (result * 397) ^ (ModifiedTarget != null ? ModifiedTarget.GetHashCode() : 0);
         result = (result * 397) ^ Irt.GetHashCode();
         result = (result * 397) ^ Standard.GetHashCode();
         result = (result * 397) ^ (TimeSource.HasValue ? TimeSource.Value : 0);
         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);
     }
 }