K2Informatics.Erlnet.OtpErlangFun.doHashCode C# (CSharp) Méthode

doHashCode() protected méthode

protected doHashCode ( ) : int
Résultat int
        protected override int doHashCode()
        {
            OtpErlangObject.Hash hash = new OtpErlangObject.Hash(1);
            hash.combine(pid.GetHashCode(), module.GetHashCode());
            hash.combine(arity);
            if (md5 != null) hash.combine(md5);
            hash.combine(index);
            hash.combine(uniq);
            if (freeVars != null)
            {
                foreach (OtpErlangObject o in freeVars)
                {
                    hash.combine(o.GetHashCode(), 1);
                }
            }
            return hash.valueOf();
        }