예제 #1
0
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.phoneNumberRegistered)
            {
                hashcode = (hashcode * 397) + PhoneNumberRegistered.GetHashCode();
            }
            if (__isset.registeredSnsIdTypes)
            {
                hashcode = (hashcode * 397) + TCollections.GetHashCode(RegisteredSnsIdTypes);
            }
        }
        return(hashcode);
    }
예제 #2
0
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.userExisting)
            {
                hashcode = (hashcode * 397) + UserExisting.GetHashCode();
            }
            if (__isset.phoneNumberRegistered)
            {
                hashcode = (hashcode * 397) + PhoneNumberRegistered.GetHashCode();
            }
            if (__isset.sameDevice)
            {
                hashcode = (hashcode * 397) + SameDevice.GetHashCode();
            }
        }
        return(hashcode);
    }