/// <summary> /// Returns the hash code for the CRL entry as an integer. /// </summary> /// <returns>The hash code for the CRL entry as an integer.</returns> public override Int32 GetHashCode() { unchecked { Int32 hashCode = (SerialNumber != null ? SerialNumber.GetHashCode() : 0); hashCode = (hashCode * 397) ^ RevocationDate.GetHashCode(); hashCode = (hashCode * 397) ^ ReasonCode; return(hashCode); } }
/// <summary> /// Returns the hash code for the CRL entry as an integer. /// </summary> /// <returns>The hash code for the CRL entry as an integer.</returns> public override Int32 GetHashCode() { unchecked { Int32 hashCode = SerialNumber?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ RevocationDate.GetHashCode(); hashCode = (hashCode * 397) ^ ReasonCode; return(hashCode); } }