/// <inheritdoc /> public override int GetHashCode() { unchecked { var hash = base.GetHashCode(); hash ^= Arity.GetHashCode(); return(hash); } }
public override int GetHashCode() { int hashCode = -1018114159; hashCode = hashCode * -1521134295 + EqualityComparer <OtpErlangPid> .Default.GetHashCode(Pid); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Module); hashCode = hashCode * -1521134295 + Index.GetHashCode(); hashCode = hashCode * -1521134295 + OldIndex.GetHashCode(); hashCode = hashCode * -1521134295 + Uniq.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <IOtpErlangObject[]> .Default.GetHashCode(FreeVars); hashCode = hashCode * -1521134295 + Arity.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <byte[]> .Default.GetHashCode(Md5); return(hashCode); }
/// <inheritdoc /> public override int GetHashCode() { unchecked { var hash = DefiningType.GetHashCode() * 397; hash ^= StringComparer.Ordinal.GetHashCode(Name); hash ^= Arity.GetHashCode(); foreach (var parameter in Parameters) { hash ^= parameter.GetHashCode(); } if (ReturnType != null) { hash ^= ReturnType.GetHashCode(); } return(hash); } }
public override int GetHashCode() { return(Name.GetHashCode() ^ Arity.GetHashCode()); }