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

            if (modeCase_ == ModeOneofCase.Fixed)
            {
                hash ^= Fixed.GetHashCode();
            }
            if (modeCase_ == ModeOneofCase.Percent)
            {
                hash ^= Percent.GetHashCode();
            }
            hash ^= (int)modeCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }