コード例 #1
0
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.square)
            {
                hashcode = (hashcode * 397) + Square.GetHashCode();
            }
            if (__isset.squareAuthority)
            {
                hashcode = (hashcode * 397) + SquareAuthority.GetHashCode();
            }
            if (__isset.squareStatus)
            {
                hashcode = (hashcode * 397) + SquareStatus.GetHashCode();
            }
            if (__isset.squareMember)
            {
                hashcode = (hashcode * 397) + SquareMember.GetHashCode();
            }
            if (__isset.squareFeatureSet)
            {
                hashcode = (hashcode * 397) + SquareFeatureSet.GetHashCode();
            }
        }
        return(hashcode);
    }
コード例 #2
0
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.square)
            {
                hashcode = (hashcode * 397) + Square.GetHashCode();
            }
            if (__isset.squareStatus)
            {
                hashcode = (hashcode * 397) + SquareStatus.GetHashCode();
            }
            if (__isset.squareNoteStatus)
            {
                hashcode = (hashcode * 397) + SquareNoteStatus.GetHashCode();
            }
        }
        return(hashcode);
    }