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

            if (queryPlan_ != null)
            {
                hash ^= QueryPlan.GetHashCode();
            }
            if (queryStats_ != null)
            {
                hash ^= QueryStats.GetHashCode();
            }
            if (rowCountCase_ == RowCountOneofCase.RowCountExact)
            {
                hash ^= RowCountExact.GetHashCode();
            }
            if (rowCountCase_ == RowCountOneofCase.RowCountLowerBound)
            {
                hash ^= RowCountLowerBound.GetHashCode();
            }
            hash ^= (int)rowCountCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (queryPlan_ != null)
            {
                hash ^= QueryPlan.GetHashCode();
            }
            if (queryStats_ != null)
            {
                hash ^= QueryStats.GetHashCode();
            }
            return(hash);
        }