/// <summary> /// GetHashCodeのオーバーライド /// </summary> /// <returns>このオブジェクトのハッシュ値を指定する整数値。</returns> #else /// <summary> /// Returns a hash code for this object. /// </summary> /// <returns>An integer value that specifies a hash value for this object.</returns> #endif public override int GetHashCode() { return(Rect.GetHashCode() + Neighbors.GetHashCode()); }
/// <summary> /// GetHashCodeのオーバーライド /// </summary> /// <returns>このオブジェクトのハッシュ値を指定する整数値。</returns> #else /// <summary> /// Returns a hash code for this object. /// </summary> /// <returns>An integer value that specifies a hash value for this object.</returns> #endif public override int GetHashCode() { return(Rect.GetHashCode() + Score.GetHashCode()); }
/// <summary> /// GetHashCodeのオーバーライド /// </summary> /// <returns>このオブジェクトのハッシュ値を指定する整数値。</returns> #else /// <summary> /// Returns a hash code for this object. /// </summary> /// <returns>An integer value that specifies a hash value for this object.</returns> #endif public override int GetHashCode() { return(MouthRect.GetHashCode() + LeftEyeRect.GetHashCode() + RightEyeRect.GetHashCode()); }