Пример #1
0
        public override int GetHashCode()
        {
            if (HasSimpleValue)
            {
                return(SimpleValue.GetHashCode());
            }

            return(Address.GetHashCode());
        }
Пример #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (simpleValue_ != null)
            {
                hash ^= SimpleValue.GetHashCode();
            }
            hash ^= listValue_.GetHashCode();
            return(hash);
        }
Пример #3
0
 public override int GetHashCode()
 {
     return(SimpleValue.GetHashCode());
 }