public override int GetHashCode()
        {
            if (HasSimpleValue)
            {
                return(SimpleValue.GetHashCode());
            }

            return(Address.GetHashCode());
        }
Example #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (simpleValue_ != null)
            {
                hash ^= SimpleValue.GetHashCode();
            }
            hash ^= listValue_.GetHashCode();
            return(hash);
        }
Example #3
0
 public override int GetHashCode()
 {
     return(SimpleValue.GetHashCode());
 }