BraintreeEncryption.Library.BouncyCastle.Asn1.Asn1Set.Asn1GetHashCode C# (CSharp) Method

Asn1GetHashCode() protected method

protected Asn1GetHashCode ( ) : int
return int
        protected override int Asn1GetHashCode()
        {
            int hc = Count;

            foreach (object o in this)
            {
                hc *= 17;
                if (o == null)
                {
                    hc ^= DerNull.Instance.GetHashCode();
                }
                else
                {
                    hc ^= o.GetHashCode();
                }
            }

            return hc;
        }