public override int GetHashCode() { // Note: The infrequent collision where changing the order of args gives the same hash value is OK. int hash = _name.GetHashCode(); for (int i = 0; i < _args.Length; ++i) { hash ^= YP.getValue(_args[i]).GetHashCode(); } return(hash); }
public override int GetHashCode() { // Note: The infrequent collision where changing the order of args gives the same hash value is OK. return(_name.GetHashCode() ^ YP.getValue(_arg1).GetHashCode() ^ YP.getValue(_arg2).GetHashCode()); }
public override int GetHashCode() { return(_name.GetHashCode() ^ YP.getValue(_arg1).GetHashCode()); }