示例#1
0
        public override int GetHashCode()
        {
            int hashCode = -840958873;

            hashCode = hashCode * -1521134295 + EqualityComparer <IDictionary> .Default.GetHashCode(Data);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(HelpLink);

            hashCode = hashCode * -1521134295 + HResult.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <Exception> .Default.GetHashCode(InnerException);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Message);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Source);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(StackTrace);

            hashCode = hashCode * -1521134295 + EqualityComparer <MethodBase> .Default.GetHashCode(TargetSite);

            hashCode = hashCode * -1521134295 + ErrorCode.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Description);

            hashCode = hashCode * -1521134295 + EqualityComparer <ResponseParameters> .Default.GetHashCode(Parameters);

            hashCode = hashCode * -1521134295 + EqualityComparer <HttpResponseMessage> .Default.GetHashCode(ResponseMessage);

            return(hashCode);
        }