Beispiel #1
0
 public override int GetHashCode()
 {
     return
         (Top.GetHashCode() ^ PGUtil.RotateShift(Right.GetHashCode(), sizeof(int) / 4) ^
          PGUtil.RotateShift(Bottom.GetHashCode(), sizeof(int) / 2) ^
          PGUtil.RotateShift(LowerLeft.GetHashCode(), sizeof(int) * 3 / 4));
 }
 public override int GetHashCode()
 {
     unchecked
     {
         return((LowerLeft.GetHashCode() * 397) ^ UpperRight.GetHashCode());
     }
 }