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

            if (guidOrNameCase_ == GuidOrNameOneofCase.Anonymous)
            {
                hash ^= Anonymous.GetHashCode();
            }
            if (guidOrNameCase_ == GuidOrNameOneofCase.Named)
            {
                hash ^= Named.GetHashCode();
            }
            hash ^= (int)guidOrNameCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }