示例#1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((Re.GetHashCode() * 397) ^ Im.GetHashCode());
     }
 }
示例#2
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(Im.GetHashCode() * 16777619 + Re.GetHashCode());
     }
 }
示例#3
0
 public override int GetHashCode()
 {
     unchecked
     {
         // ReSharper disable once NonReadonlyMemberInGetHashCode
         return((Re.GetHashCode() * 397) ^ Im.GetHashCode());
     }
 }
示例#4
0
 /// <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());
 }
 public override int GetHashCode()
 {
     return(Re.GetHashCode() ^ (Im.GetHashCode() >> 16));
 }