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

        unchecked {
            if (__isset.limit)
            {
                hashcode = (hashcode * 397) + Limit.GetHashCode();
            }
            if (__isset.offset)
            {
                hashcode = (hashcode * 397) + Offset.GetHashCode();
            }
            if (__isset.max_versions)
            {
                hashcode = (hashcode * 397) + Max_versions.GetHashCode();
            }
            if (__isset.max_buffer)
            {
                hashcode = (hashcode * 397) + Max_buffer.GetHashCode();
            }
            if (__isset.options)
            {
                hashcode = (hashcode * 397) + Options.GetHashCode();
            }
        }
        return(hashcode);
    }