Exemple #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (StartS != 0D)
            {
                hash ^= StartS.GetHashCode();
            }
            if (EndS != 0D)
            {
                hash ^= EndS.GetHashCode();
            }
            if (PathId.Length != 0)
            {
                hash ^= PathId.GetHashCode();
            }
            if (PathStartS != 0D)
            {
                hash ^= PathStartS.GetHashCode();
            }
            if (PathEndS != 0D)
            {
                hash ^= PathEndS.GetHashCode();
            }
            return(hash);
        }
Exemple #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (StartS != 0D)
            {
                hash ^= StartS.GetHashCode();
            }
            if (EndS != 0D)
            {
                hash ^= EndS.GetHashCode();
            }
            if (StartL != 0D)
            {
                hash ^= StartL.GetHashCode();
            }
            if (EndL != 0D)
            {
                hash ^= EndL.GetHashCode();
            }
            return(hash);
        }