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

            if (id_ != null)
            {
                hash ^= Id.GetHashCode();
            }
            hash ^= section_.GetHashCode();
            if (junctionId_ != null)
            {
                hash ^= JunctionId.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            return(hash);
        }