public override int GetHashCode()
        {
            int hash = 1;

            if (configCase_ == ConfigOneofCase.FixedLenFeature)
            {
                hash ^= FixedLenFeature.GetHashCode();
            }
            if (configCase_ == ConfigOneofCase.VarLenFeature)
            {
                hash ^= VarLenFeature.GetHashCode();
            }
            hash ^= (int)configCase_;
            return(hash);
        }
예제 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (configCase_ == ConfigOneofCase.FixedLenFeature)
            {
                hash ^= FixedLenFeature.GetHashCode();
            }
            if (configCase_ == ConfigOneofCase.VarLenFeature)
            {
                hash ^= VarLenFeature.GetHashCode();
            }
            hash ^= (int)configCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }