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

            if (OverallCode != 0)
            {
                hash ^= OverallCode.GetHashCode();
            }
            hash ^= statuses_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (OverallCode != global::Envoy.Service.Ratelimit.V2.RateLimitResponse.Types.Code.Unknown)
            {
                hash ^= OverallCode.GetHashCode();
            }
            hash ^= statuses_.GetHashCode();
            hash ^= headers_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }