예제 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((d_width.GetHashCode() * 397) ^ d_height.GetHashCode());
     }
 }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <returns></returns>
 public override int GetHashCode()
 {
     unchecked
     {
         return((d_x.GetHashCode() * 397) ^ d_y.GetHashCode());
     }
 }
예제 #3
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = d_top.GetHashCode();
         result = (result * 397) ^ d_left.GetHashCode();
         result = (result * 397) ^ d_bottom.GetHashCode();
         result = (result * 397) ^ d_right.GetHashCode();
         return(result);
     }
 }