public override int GetHashCode() { unchecked { return((Re.GetHashCode() * 397) ^ Im.GetHashCode()); } }
public override int GetHashCode() { int hash = 371; hash += 117 * Re.GetHashCode() + 23 * Im.GetHashCode(); return(hash); }
public override int GetHashCode() { // Don't ask me why shift 2,not anything else! // I found this practice on various Codes including // official documentations so used this return((Re.GetHashCode() << 2) ^ Im.GetHashCode()); }
public override int GetHashCode() { unchecked { return(Im.GetHashCode() * 16777619 + Re.GetHashCode()); } }
public override int GetHashCode() { var hashCode = 29377563; hashCode = hashCode * -1521134295 + Re.GetHashCode(); hashCode = hashCode * -1521134295 + Im.GetHashCode(); return(hashCode); }
public override int GetHashCode() { unchecked { // ReSharper disable once NonReadonlyMemberInGetHashCode return((Re.GetHashCode() * 397) ^ Im.GetHashCode()); } }
/// <summary> /// Returns the hashcode for this instance. /// </summary> /// /// <returns>A 32-bit signed integer hash code.</returns> public override int GetHashCode() { return(Re.GetHashCode() ^ Im.GetHashCode()); }
// GetHashCode. public override int GetHashCode() { return(Re.GetHashCode() ^ (Re + Im).GetHashCode()); }
public override int GetHashCode() { return(Re.GetHashCode() ^ (Im.GetHashCode() >> 16)); }