예제 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Version.GetHashCode();
         hashCode = (hashCode * 397) ^ CipherSuite.GetHashCode();
         hashCode = (hashCode * 397) ^ CurveGroup.GetHashCode();
         hashCode = (hashCode * 397) ^ SignatureHashAlgorithm.GetHashCode();
         hashCode = (hashCode * 397) ^ Error.GetHashCode();
         hashCode = (hashCode * 397) ^ (ErrorDescription != null ? ErrorDescription.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (SmtpResponses != null ? SmtpResponses.GetHashCode() : 0);
         return(hashCode);
     }
 }