Beispiel #1
0
        public sealed override int GetHashCode()
        {
            int code = _rowType.GetHashCode() ^ TypeName.GetHashCode();

            foreach (string index in _indexNames)
            {
                code ^= index.GetHashCode();
            }
            return(code);
        }
Beispiel #2
0
 public override int GetHashCode()
 {
     return(_items.Aggregate(CompositeType.GetHashCode(),
                             (acc, x) => acc ^ GetValuePairHashCode(x)));
 }