Ejemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (StatPrefix.Length != 0)
            {
                hash ^= StatPrefix.GetHashCode();
            }
            if (AccessLog.Length != 0)
            {
                hash ^= AccessLog.GetHashCode();
            }
            if (delay_ != null)
            {
                hash ^= Delay.GetHashCode();
            }
            if (EmitDynamicMetadata != false)
            {
                hash ^= EmitDynamicMetadata.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (StatPrefix.Length != 0)
            {
                hash ^= StatPrefix.GetHashCode();
            }
            if (AccessLog.Length != 0)
            {
                hash ^= AccessLog.GetHashCode();
            }
            if (maxPacketBytes_ != null)
            {
                hash ^= MaxPacketBytes.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }