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

            if (header_ != null)
            {
                hash ^= Header.GetHashCode();
            }
            hash ^= detections_.GetHashCode();
            return(hash);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (header_ != null)
            {
                hash ^= Header.GetHashCode();
            }
            if (Event.Length != 0)
            {
                hash ^= Event.GetHashCode();
            }
            if (location_ != null)
            {
                hash ^= Location.GetHashCode();
            }
            hash ^= type_.GetHashCode();
            return(hash);
        }