Example #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (StrRecordName.Length != 0)
            {
                hash ^= StrRecordName.GetHashCode();
            }
            if (StrKey.Length != 0)
            {
                hash ^= StrKey.GetHashCode();
            }
            if (FieldVecList.Length != 0)
            {
                hash ^= FieldVecList.GetHashCode();
            }
            if (ValueVecList.Length != 0)
            {
                hash ^= ValueVecList.GetHashCode();
            }
            if (BExit != 0L)
            {
                hash ^= BExit.GetHashCode();
            }
            if (Nreqid != 0L)
            {
                hash ^= Nreqid.GetHashCode();
            }
            if (NRet != 0L)
            {
                hash ^= NRet.GetHashCode();
            }
            if (EType != 0L)
            {
                hash ^= EType.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (StrUrl.Length != 0)
            {
                hash ^= StrUrl.GetHashCode();
            }
            if (StrGetParams.Length != 0)
            {
                hash ^= StrGetParams.GetHashCode();
            }
            if (StrBodyData.Length != 0)
            {
                hash ^= StrBodyData.GetHashCode();
            }
            if (StrCookies.Length != 0)
            {
                hash ^= StrCookies.GetHashCode();
            }
            if (FTimeOutSec != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FTimeOutSec);
            }
            if (StrRsp.Length != 0)
            {
                hash ^= StrRsp.GetHashCode();
            }
            if (NRet != 0L)
            {
                hash ^= NRet.GetHashCode();
            }
            if (NReqID != 0L)
            {
                hash ^= NReqID.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }