Example #1
0
        public override int GetHashCode()
        {
            int hashCode = 23;

            hashCode ^= _type.GetHashCode();
            if (_listTerms != null)
            {
                hashCode ^= _listTerms.GetHashCode();
            }

            return(hashCode);
        }
Example #2
0
        public override int GetHashCode()
        {
            int hashCode = 43;

            if (_name != null)
            {
                hashCode ^= _name.GetHashCode();
            }
            if (_listParts != null)
            {
                hashCode ^= _listParts.GetHashCode();
            }

            return(hashCode);
        }