public override int GetHashCode()
        {
            int hash = 1;

            if (CircuitType != 0)
            {
                hash ^= CircuitType.GetHashCode();
            }
            if (CircuitIdentifier.Length != 0)
            {
                hash ^= CircuitIdentifier.GetHashCode();
            }
            return(hash);
        }
Exemple #2
0
        public override int GetHashCode()
        {
            var hashCode = 868376877;

            hashCode = hashCode * -1521134295 + TypeIn.GetHashCode();
            hashCode = hashCode * -1521134295 + TypeOut.GetHashCode();
            hashCode = hashCode * -1521134295 + Rin.GetHashCode();
            hashCode = hashCode * -1521134295 + Lin.GetHashCode();
            hashCode = hashCode * -1521134295 + Cin.GetHashCode();
            hashCode = hashCode * -1521134295 + Rout.GetHashCode();
            hashCode = hashCode * -1521134295 + Lout.GetHashCode();
            hashCode = hashCode * -1521134295 + Cout.GetHashCode();
            hashCode = hashCode * -1521134295 + Z0.GetHashCode();
            hashCode = hashCode * -1521134295 + S0.GetHashCode();
            hashCode = hashCode * -1521134295 + FS.GetHashCode();
            hashCode = hashCode * -1521134295 + Tay.GetHashCode();
            hashCode = hashCode * -1521134295 + R12.GetHashCode();
            hashCode = hashCode * -1521134295 + C12.GetHashCode();
            return(hashCode);
        }