Skip to content

FBroSharpControl介绍:

#region 程序集 FBroSharpLib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// T:\Csharp\FBro课件代码\packages\FBroSharp.Common.4.14.26\FBroSharp\x64\FBroSharpLib.dll
// Decompiled with ICSharpCode.Decompiler 8.1.1.7464
#endregion

using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using FBroSharp.Const;
using FBroSharp.DataType;
using FBroSharp.Event;
using FBroSharp.Lib;
using FBroSharp.Value;
using std;

namespace FBroSharp;

public class FBroSharpControl
{
    //
    // 摘要:
    //     创建浏览器
    [return: MarshalAs(UnmanagedType.U1)]
    public unsafe static bool CreatBrowser(string url, FBroSharpWindowsInfo windows_info, FBroSharpBrowserSetting browserset_info, FBroSharpRequestContext request_context, FBroSharpDictionaryValue extra_info, FBroSharpBrowserEvent @event, FBroSharpEventDisableControl event_contrl, string user_flag)
    {
        //IL_00da: Expected I, but got I8
        //IL_011c: Expected I, but got I8
        //IL_01cb: Expected I, but got I8
        //IL_020d: Expected I, but got I8
        //IL_0238: Expected I, but got I8
        //IL_022b: Expected I4, but got I8
        //IL_024b: Expected I8, but got I
        //IL_0270: Expected I, but got I8
        //IL_02e5: Expected I, but got I8
        //IL_02f8: Expected I, but got I8
        //IL_030b: Expected I, but got I8
        //IL_03f6: Expected I, but got I8
        //IL_0415: Expected I, but got I8
        //IL_0434: Expected I, but got I8
        uint num = 0u;
        System.Runtime.CompilerServices.Unsafe.SkipInit(out FBroSharpWindowsInfoDis fBroSharpWindowsInfoDis);
        global::_003CModule_003E.FBroSharp_002EFBroSharpWindowsInfoDis_002E_007Bctor_007D(&fBroSharpWindowsInfoDis, windows_info);
        bool result;
        try
        {
            System.Runtime.CompilerServices.Unsafe.SkipInit(out FBroSharpSharpBrowserSetting fBroSharpSharpBrowserSetting);
            global::_003CModule_003E.FBroSharp_002EFBroSharpSharpBrowserSetting_002E_007Bctor_007D(&fBroSharpSharpBrowserSetting, browserset_info);
            try
            {
                System.Runtime.CompilerServices.Unsafe.SkipInit(out FBroSharpEventDisableControlDis fBroSharpEventDisableControlDis);
                global::_003CModule_003E.FBroSharp_002EFBroSharpEventDisableControlDis_002E_007Bctor_007D(&fBroSharpEventDisableControlDis, event_contrl);
                try
                {
                    System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefRequestContext_003E scoped_refptr_003CCefRequestContext_003E);
                    *(long*)(&scoped_refptr_003CCefRequestContext_003E) = 0L;
                    scoped_refptr_003CCefRequestContext_003E* ptr;
                    System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefRequestContext_003E scoped_refptr_003CCefRequestContext_003E2);
                    System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefRequestContext_003E scoped_refptr_003CCefRequestContext_003E3);
                    if (request_context != null)
                    {
                        ptr = request_context.GetObject(&scoped_refptr_003CCefRequestContext_003E2);
                        try
                        {
                            num = 1u;
                        }
                        catch
                        {
                            //try-fault
                            if ((num & (true ? 1u : 0u)) != 0)
                            {
                                num &= 0xFFFFFFFEu;
                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E2);
                            }

                            throw;
                        }
                    }
                    else
                    {
                        *(long*)(&scoped_refptr_003CCefRequestContext_003E3) = 0L;
                        ptr = &scoped_refptr_003CCefRequestContext_003E3;
                        try
                        {
                            try
                            {
                                num = 2u;
                            }
                            catch
                            {
                                //try-fault
                                if ((num & 2u) != 0)
                                {
                                    num &= 0xFFFFFFFDu;
                                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E3);
                                }

                                throw;
                            }
                        }
                        catch
                        {
                            //try-fault
                            if ((num & (true ? 1u : 0u)) != 0)
                            {
                                num &= 0xFFFFFFFEu;
                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E2);
                            }

                            throw;
                        }
                    }

                    try
                    {
                        try
                        {
                            *(long*)(&scoped_refptr_003CCefRequestContext_003E) = *(long*)ptr;
                            *(long*)ptr = 0L;
                        }
                        catch
                        {
                            //try-fault
                            if ((num & 2u) != 0)
                            {
                                num &= 0xFFFFFFFDu;
                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E3);
                            }

                            throw;
                        }

                        try
                        {
                            if ((num & 2u) != 0)
                            {
                                num &= 0xFFFFFFFDu;
                                if (*(long*)(&scoped_refptr_003CCefRequestContext_003E3) != 0L)
                                {
                                    global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002ERelease((CefRequestContext*)(*(ulong*)(&scoped_refptr_003CCefRequestContext_003E3)));
                                }
                            }
                        }
                        catch
                        {
                            //try-fault
                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E);
                            throw;
                        }
                    }
                    catch
                    {
                        //try-fault
                        if ((num & (true ? 1u : 0u)) != 0)
                        {
                            num &= 0xFFFFFFFEu;
                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E2);
                        }

                        throw;
                    }

                    try
                    {
                        if ((num & (true ? 1u : 0u)) != 0)
                        {
                            num &= 0xFFFFFFFEu;
                            if (*(long*)(&scoped_refptr_003CCefRequestContext_003E2) != 0L)
                            {
                                global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002ERelease((CefRequestContext*)(*(ulong*)(&scoped_refptr_003CCefRequestContext_003E2)));
                            }
                        }

                        System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefDictionaryValue_003E scoped_refptr_003CCefDictionaryValue_003E);
                        *(long*)(&scoped_refptr_003CCefDictionaryValue_003E) = 0L;
                        scoped_refptr_003CCefDictionaryValue_003E* ptr2;
                        System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefDictionaryValue_003E scoped_refptr_003CCefDictionaryValue_003E2);
                        System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefDictionaryValue_003E scoped_refptr_003CCefDictionaryValue_003E3);
                        if (extra_info != null)
                        {
                            ptr2 = extra_info.GetObject(&scoped_refptr_003CCefDictionaryValue_003E2);
                            try
                            {
                                num |= 4u;
                            }
                            catch
                            {
                                //try-fault
                                if ((num & 4u) != 0)
                                {
                                    num &= 0xFFFFFFFBu;
                                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E2);
                                }

                                throw;
                            }
                        }
                        else
                        {
                            *(long*)(&scoped_refptr_003CCefDictionaryValue_003E3) = 0L;
                            ptr2 = &scoped_refptr_003CCefDictionaryValue_003E3;
                            try
                            {
                                try
                                {
                                    num |= 8u;
                                }
                                catch
                                {
                                    //try-fault
                                    if ((num & 8u) != 0)
                                    {
                                        num &= 0xFFFFFFF7u;
                                        global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E3);
                                    }

                                    throw;
                                }
                            }
                            catch
                            {
                                //try-fault
                                if ((num & 4u) != 0)
                                {
                                    num &= 0xFFFFFFFBu;
                                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E2);
                                }

                                throw;
                            }
                        }

                        try
                        {
                            try
                            {
                                *(long*)(&scoped_refptr_003CCefDictionaryValue_003E) = *(long*)ptr2;
                                *(long*)ptr2 = 0L;
                            }
                            catch
                            {
                                //try-fault
                                if ((num & 8u) != 0)
                                {
                                    num &= 0xFFFFFFF7u;
                                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E3);
                                }

                                throw;
                            }

                            try
                            {
                                if ((num & 8u) != 0)
                                {
                                    num &= 0xFFFFFFF7u;
                                    if (*(long*)(&scoped_refptr_003CCefDictionaryValue_003E3) != 0L)
                                    {
                                        global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002ERelease((CefDictionaryValue*)(*(ulong*)(&scoped_refptr_003CCefDictionaryValue_003E3)));
                                    }
                                }
                            }
                            catch
                            {
                                //try-fault
                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E);
                                throw;
                            }
                        }
                        catch
                        {
                            //try-fault
                            if ((num & 4u) != 0)
                            {
                                num &= 0xFFFFFFFBu;
                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E2);
                            }

                            throw;
                        }

                        try
                        {
                            if ((num & 4u) != 0)
                            {
                                num &= 0xFFFFFFFBu;
                                if (*(long*)(&scoped_refptr_003CCefDictionaryValue_003E2) != 0L)
                                {
                                    global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002ERelease((CefDictionaryValue*)(*(ulong*)(&scoped_refptr_003CCefDictionaryValue_003E2)));
                                }
                            }

                            System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E);
                            *(long*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E) = 0L;
                            FBroSharpBrowserEventDis* ptr3 = (FBroSharpBrowserEventDis*)global::_003CModule_003E.@new(128uL);
                            FBroSharpBrowserEventDis* ptr4;
                            try
                            {
                                if (ptr3 != null)
                                {
                                    // IL initblk instruction
                                    System.Runtime.CompilerServices.Unsafe.InitBlock(ptr3, 0, 128);
                                    ptr4 = global::_003CModule_003E.FBroSharp_002EEvent_002EFBroSharpBrowserEventDis_002E_007Bctor_007D(ptr3, 1);
                                }
                                else
                                {
                                    ptr4 = null;
                                }
                            }
                            catch
                            {
                                //try-fault
                                global::_003CModule_003E.delete(ptr3, 128uL);
                                throw;
                            }

                            *(long*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E) = (nint)ptr4;
                            if (ptr4 != null)
                            {
                                global::_003CModule_003E.scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E_002EAddRef(ptr4);
                            }

                            try
                            {
                                if (@event != null)
                                {
                                    long num2 = (long)(nint)global::_003CModule_003E.scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E_002E_002D_003E(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E) + 32L;
                                    global::_003CModule_003E.FBroSharpSetVersionShareMem((VersionType)2);
                                    global::_003CModule_003E.gcroot_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEvent_0020_005E_003E_002E_003D((gcroot_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEvent_0020_005E_003E*)num2, @event);
                                }

                                System.Runtime.CompilerServices.Unsafe.SkipInit(out basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E obj);
                                basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E* str = global::_003CModule_003E.FBroSharp_002ESStringToCefString(&obj, user_flag);
                                try
                                {
                                    System.Runtime.CompilerServices.Unsafe.SkipInit(out CefStringBase_003CCefStringTraitsUTF16_003E cefStringBase_003CCefStringTraitsUTF16_003E);
                                    *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
                                    System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E, 8)) = 0L;
                                    System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, sbyte>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E, 16)) = 0;
                                    global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EFromWString(&cefStringBase_003CCefStringTraitsUTF16_003E, str);
                                    try
                                    {
                                        System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CFBroHsBroEvent_003E scoped_refptr_003CFBroHsBroEvent_003E);
                                        scoped_refptr_003CFBroHsBroEvent_003E* pThis = &scoped_refptr_003CFBroHsBroEvent_003E;
                                        System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefDictionaryValue_003E scoped_refptr_003CCefDictionaryValue_003E4);
                                        scoped_refptr_003CCefDictionaryValue_003E* pThis2 = &scoped_refptr_003CCefDictionaryValue_003E4;
                                        System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefRequestContext_003E scoped_refptr_003CCefRequestContext_003E4);
                                        scoped_refptr_003CCefRequestContext_003E* ptr5 = &scoped_refptr_003CCefRequestContext_003E4;
                                        System.Runtime.CompilerServices.Unsafe.SkipInit(out basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E obj2);
                                        basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E* str2 = global::_003CModule_003E.FBroSharp_002ESStringToCefString(&obj2, url);
                                        try
                                        {
                                            System.Runtime.CompilerServices.Unsafe.SkipInit(out CefStringBase_003CCefStringTraitsUTF16_003E cefStringBase_003CCefStringTraitsUTF16_003E2);
                                            *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E2) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
                                            System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E2, 8)) = 0L;
                                            System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, sbyte>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E2, 16)) = 0;
                                            global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EFromWString(&cefStringBase_003CCefStringTraitsUTF16_003E2, str2);
                                            try
                                            {
                                                *(long*)(&scoped_refptr_003CFBroHsBroEvent_003E) = *(long*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E);
                                                if (*(long*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E) != 0L)
                                                {
                                                    global::_003CModule_003E.scoped_refptr_003CFBroHsBroEvent_003E_002EAddRef((FBroHsBroEvent*)(*(ulong*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E)));
                                                }

                                                try
                                                {
                                                    *(long*)(&scoped_refptr_003CCefDictionaryValue_003E4) = *(long*)(&scoped_refptr_003CCefDictionaryValue_003E);
                                                    if (*(long*)(&scoped_refptr_003CCefDictionaryValue_003E) != 0L)
                                                    {
                                                        global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002EAddRef((CefDictionaryValue*)(*(ulong*)(&scoped_refptr_003CCefDictionaryValue_003E)));
                                                    }

                                                    try
                                                    {
                                                        *(long*)(&scoped_refptr_003CCefRequestContext_003E4) = *(long*)(&scoped_refptr_003CCefRequestContext_003E);
                                                        if (*(long*)(&scoped_refptr_003CCefRequestContext_003E) != 0L)
                                                        {
                                                            global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002EAddRef((CefRequestContext*)(*(ulong*)(&scoped_refptr_003CCefRequestContext_003E)));
                                                        }
                                                    }
                                                    catch
                                                    {
                                                        //try-fault
                                                        global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), pThis2);
                                                        throw;
                                                    }
                                                }
                                                catch
                                                {
                                                    //try-fault
                                                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CFBroHsBroEvent_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CFBroHsBroEvent_003E_002E_007Bdtor_007D), pThis);
                                                    throw;
                                                }

                                                result = ((global::_003CModule_003E.FBroHsCreate(&cefStringBase_003CCefStringTraitsUTF16_003E2, (E_WINDOWS_INFO*)(&fBroSharpWindowsInfoDis), (E_BROWER_SETTING*)(&fBroSharpSharpBrowserSetting), &scoped_refptr_003CCefRequestContext_003E4, &scoped_refptr_003CCefDictionaryValue_003E4, &scoped_refptr_003CFBroHsBroEvent_003E, (Event_Disable_Control*)(&fBroSharpEventDisableControlDis), &cefStringBase_003CCefStringTraitsUTF16_003E) != 0) ? true : false);
                                            }
                                            catch
                                            {
                                                //try-fault
                                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CefStringBase_003CCefStringTraitsUTF16_003E*, void>)(&global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002E_007Bdtor_007D), &cefStringBase_003CCefStringTraitsUTF16_003E2);
                                                throw;
                                            }

                                            *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E2) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
                                            global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EClearAndFree(&cefStringBase_003CCefStringTraitsUTF16_003E2);
                                        }
                                        catch
                                        {
                                            //try-fault
                                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E*, void>)(&global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_007Bdtor_007D), &obj2);
                                            throw;
                                        }

                                        try
                                        {
                                            global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_Tidy_deallocate(&obj2);
                                        }
                                        catch
                                        {
                                            //try-fault
                                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E*, void>)(&global::_003CModule_003E.std_002E_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E_002E_007Bdtor_007D), &obj2);
                                            throw;
                                        }
                                    }
                                    catch
                                    {
                                        //try-fault
                                        global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CefStringBase_003CCefStringTraitsUTF16_003E*, void>)(&global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002E_007Bdtor_007D), &cefStringBase_003CCefStringTraitsUTF16_003E);
                                        throw;
                                    }

                                    *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
                                    global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EClearAndFree(&cefStringBase_003CCefStringTraitsUTF16_003E);
                                }
                                catch
                                {
                                    //try-fault
                                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E*, void>)(&global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_007Bdtor_007D), &obj);
                                    throw;
                                }

                                try
                                {
                                    global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_Tidy_deallocate(&obj);
                                }
                                catch
                                {
                                    //try-fault
                                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E*, void>)(&global::_003CModule_003E.std_002E_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E_002E_007Bdtor_007D), &obj);
                                    throw;
                                }
                            }
                            catch
                            {
                                //try-fault
                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E_002E_007Bdtor_007D), &scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E);
                                throw;
                            }

                            if (*(long*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E) != 0L)
                            {
                                global::_003CModule_003E.scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E_002ERelease((FBroSharpBrowserEventDis*)(*(ulong*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E)));
                            }
                        }
                        catch
                        {
                            //try-fault
                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E);
                            throw;
                        }

                        if (*(long*)(&scoped_refptr_003CCefDictionaryValue_003E) != 0L)
                        {
                            global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002ERelease((CefDictionaryValue*)(*(ulong*)(&scoped_refptr_003CCefDictionaryValue_003E)));
                        }
                    }
                    catch
                    {
                        //try-fault
                        global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E);
                        throw;
                    }

                    if (*(long*)(&scoped_refptr_003CCefRequestContext_003E) != 0L)
                    {
                        global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002ERelease((CefRequestContext*)(*(ulong*)(&scoped_refptr_003CCefRequestContext_003E)));
                    }
                }
                catch
                {
                    //try-fault
                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<FBroSharpEventDisableControlDis*, void>)(&global::_003CModule_003E.FBroSharp_002EFBroSharpEventDisableControlDis_002E_007Bdtor_007D), &fBroSharpEventDisableControlDis);
                    throw;
                }
            }
            catch
            {
                //try-fault
                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<FBroSharpSharpBrowserSetting*, void>)(&global::_003CModule_003E.FBroSharp_002EFBroSharpSharpBrowserSetting_002E_007Bdtor_007D), &fBroSharpSharpBrowserSetting);
                throw;
            }

            global::_003CModule_003E.FBroSharp_002EFBroSharpSharpBrowserSetting_002E_007Bdtor_007D(&fBroSharpSharpBrowserSetting);
        }
        catch
        {
            //try-fault
            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<FBroSharpWindowsInfoDis*, void>)(&global::_003CModule_003E.FBroSharp_002EFBroSharpWindowsInfoDis_002E_007Bdtor_007D), &fBroSharpWindowsInfoDis);
            throw;
        }

        global::_003CModule_003E.FBroSharp_002EFBroSharpWindowsInfoDis_002E_007Bdtor_007D(&fBroSharpWindowsInfoDis);
        return result;
    }

    //
    // 摘要:
    //     创建浏览器
    [return: MarshalAs(UnmanagedType.U1)]
    public static bool CreatBrowser(string url, FBroSharpWindowsInfo windows_info, FBroSharpBrowserSetting browserset_info, FBroSharpRequestContext request_context, FBroSharpDictionaryValue extra_info, FBroSharpBrowserEvent @event, FBroSharpEventDisableControl event_contrl)
    {
        return CreatBrowser(url, windows_info, browserset_info, request_context, extra_info, @event, event_contrl, "");
    }

    //
    // 摘要:
    //     同步创建浏览器,注意只能在浏览器的UI线程中运行
    public unsafe static FBroSharpBrowser CreateSync(string url, FBroSharpWindowsInfo windows_info, FBroSharpBrowserSetting browserset_info, FBroSharpRequestContext request, FBroSharpDictionaryValue extra_info, FBroSharpBrowserEvent @event, FBroSharpEventDisableControl event_contrl, string user_flag)
    {
        //IL_00da: Expected I, but got I8
        //IL_011c: Expected I, but got I8
        //IL_01cb: Expected I, but got I8
        //IL_020d: Expected I, but got I8
        //IL_0238: Expected I, but got I8
        //IL_022b: Expected I4, but got I8
        //IL_024b: Expected I8, but got I
        //IL_0270: Expected I, but got I8
        //IL_02ea: Expected I, but got I8
        //IL_02fd: Expected I, but got I8
        //IL_0310: Expected I, but got I8
        //IL_042d: Expected I, but got I8
        //IL_045a: Expected I, but got I8
        //IL_0479: Expected I, but got I8
        //IL_0498: Expected I, but got I8
        //IL_04b7: Expected I, but got I8
        uint num = 0u;
        System.Runtime.CompilerServices.Unsafe.SkipInit(out FBroSharpWindowsInfoDis fBroSharpWindowsInfoDis);
        global::_003CModule_003E.FBroSharp_002EFBroSharpWindowsInfoDis_002E_007Bctor_007D(&fBroSharpWindowsInfoDis, windows_info);
        FBroSharpBrowser result;
        try
        {
            System.Runtime.CompilerServices.Unsafe.SkipInit(out FBroSharpSharpBrowserSetting fBroSharpSharpBrowserSetting);
            global::_003CModule_003E.FBroSharp_002EFBroSharpSharpBrowserSetting_002E_007Bctor_007D(&fBroSharpSharpBrowserSetting, browserset_info);
            try
            {
                System.Runtime.CompilerServices.Unsafe.SkipInit(out FBroSharpEventDisableControlDis fBroSharpEventDisableControlDis);
                global::_003CModule_003E.FBroSharp_002EFBroSharpEventDisableControlDis_002E_007Bctor_007D(&fBroSharpEventDisableControlDis, event_contrl);
                try
                {
                    System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefRequestContext_003E scoped_refptr_003CCefRequestContext_003E);
                    *(long*)(&scoped_refptr_003CCefRequestContext_003E) = 0L;
                    scoped_refptr_003CCefRequestContext_003E* ptr;
                    System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefRequestContext_003E scoped_refptr_003CCefRequestContext_003E2);
                    System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefRequestContext_003E scoped_refptr_003CCefRequestContext_003E3);
                    if (request != null)
                    {
                        ptr = request.GetObject(&scoped_refptr_003CCefRequestContext_003E2);
                        try
                        {
                            num = 1u;
                        }
                        catch
                        {
                            //try-fault
                            if ((num & (true ? 1u : 0u)) != 0)
                            {
                                num &= 0xFFFFFFFEu;
                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E2);
                            }

                            throw;
                        }
                    }
                    else
                    {
                        *(long*)(&scoped_refptr_003CCefRequestContext_003E3) = 0L;
                        ptr = &scoped_refptr_003CCefRequestContext_003E3;
                        try
                        {
                            try
                            {
                                num = 2u;
                            }
                            catch
                            {
                                //try-fault
                                if ((num & 2u) != 0)
                                {
                                    num &= 0xFFFFFFFDu;
                                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E3);
                                }

                                throw;
                            }
                        }
                        catch
                        {
                            //try-fault
                            if ((num & (true ? 1u : 0u)) != 0)
                            {
                                num &= 0xFFFFFFFEu;
                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E2);
                            }

                            throw;
                        }
                    }

                    try
                    {
                        try
                        {
                            *(long*)(&scoped_refptr_003CCefRequestContext_003E) = *(long*)ptr;
                            *(long*)ptr = 0L;
                        }
                        catch
                        {
                            //try-fault
                            if ((num & 2u) != 0)
                            {
                                num &= 0xFFFFFFFDu;
                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E3);
                            }

                            throw;
                        }

                        try
                        {
                            if ((num & 2u) != 0)
                            {
                                num &= 0xFFFFFFFDu;
                                if (*(long*)(&scoped_refptr_003CCefRequestContext_003E3) != 0L)
                                {
                                    global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002ERelease((CefRequestContext*)(*(ulong*)(&scoped_refptr_003CCefRequestContext_003E3)));
                                }
                            }
                        }
                        catch
                        {
                            //try-fault
                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E);
                            throw;
                        }
                    }
                    catch
                    {
                        //try-fault
                        if ((num & (true ? 1u : 0u)) != 0)
                        {
                            num &= 0xFFFFFFFEu;
                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E2);
                        }

                        throw;
                    }

                    try
                    {
                        if ((num & (true ? 1u : 0u)) != 0)
                        {
                            num &= 0xFFFFFFFEu;
                            if (*(long*)(&scoped_refptr_003CCefRequestContext_003E2) != 0L)
                            {
                                global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002ERelease((CefRequestContext*)(*(ulong*)(&scoped_refptr_003CCefRequestContext_003E2)));
                            }
                        }

                        System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefDictionaryValue_003E scoped_refptr_003CCefDictionaryValue_003E);
                        *(long*)(&scoped_refptr_003CCefDictionaryValue_003E) = 0L;
                        scoped_refptr_003CCefDictionaryValue_003E* ptr2;
                        System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefDictionaryValue_003E scoped_refptr_003CCefDictionaryValue_003E2);
                        System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefDictionaryValue_003E scoped_refptr_003CCefDictionaryValue_003E3);
                        if (extra_info != null)
                        {
                            ptr2 = extra_info.GetObject(&scoped_refptr_003CCefDictionaryValue_003E2);
                            try
                            {
                                num |= 4u;
                            }
                            catch
                            {
                                //try-fault
                                if ((num & 4u) != 0)
                                {
                                    num &= 0xFFFFFFFBu;
                                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E2);
                                }

                                throw;
                            }
                        }
                        else
                        {
                            *(long*)(&scoped_refptr_003CCefDictionaryValue_003E3) = 0L;
                            ptr2 = &scoped_refptr_003CCefDictionaryValue_003E3;
                            try
                            {
                                try
                                {
                                    num |= 8u;
                                }
                                catch
                                {
                                    //try-fault
                                    if ((num & 8u) != 0)
                                    {
                                        num &= 0xFFFFFFF7u;
                                        global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E3);
                                    }

                                    throw;
                                }
                            }
                            catch
                            {
                                //try-fault
                                if ((num & 4u) != 0)
                                {
                                    num &= 0xFFFFFFFBu;
                                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E2);
                                }

                                throw;
                            }
                        }

                        try
                        {
                            try
                            {
                                *(long*)(&scoped_refptr_003CCefDictionaryValue_003E) = *(long*)ptr2;
                                *(long*)ptr2 = 0L;
                            }
                            catch
                            {
                                //try-fault
                                if ((num & 8u) != 0)
                                {
                                    num &= 0xFFFFFFF7u;
                                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E3);
                                }

                                throw;
                            }

                            try
                            {
                                if ((num & 8u) != 0)
                                {
                                    num &= 0xFFFFFFF7u;
                                    if (*(long*)(&scoped_refptr_003CCefDictionaryValue_003E3) != 0L)
                                    {
                                        global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002ERelease((CefDictionaryValue*)(*(ulong*)(&scoped_refptr_003CCefDictionaryValue_003E3)));
                                    }
                                }
                            }
                            catch
                            {
                                //try-fault
                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E);
                                throw;
                            }
                        }
                        catch
                        {
                            //try-fault
                            if ((num & 4u) != 0)
                            {
                                num &= 0xFFFFFFFBu;
                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E2);
                            }

                            throw;
                        }

                        try
                        {
                            if ((num & 4u) != 0)
                            {
                                num &= 0xFFFFFFFBu;
                                if (*(long*)(&scoped_refptr_003CCefDictionaryValue_003E2) != 0L)
                                {
                                    global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002ERelease((CefDictionaryValue*)(*(ulong*)(&scoped_refptr_003CCefDictionaryValue_003E2)));
                                }
                            }

                            System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E);
                            *(long*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E) = 0L;
                            FBroSharpBrowserEventDis* ptr3 = (FBroSharpBrowserEventDis*)global::_003CModule_003E.@new(128uL);
                            FBroSharpBrowserEventDis* ptr4;
                            try
                            {
                                if (ptr3 != null)
                                {
                                    // IL initblk instruction
                                    System.Runtime.CompilerServices.Unsafe.InitBlock(ptr3, 0, 128);
                                    ptr4 = global::_003CModule_003E.FBroSharp_002EEvent_002EFBroSharpBrowserEventDis_002E_007Bctor_007D(ptr3, 1);
                                }
                                else
                                {
                                    ptr4 = null;
                                }
                            }
                            catch
                            {
                                //try-fault
                                global::_003CModule_003E.delete(ptr3, 128uL);
                                throw;
                            }

                            *(long*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E) = (nint)ptr4;
                            if (ptr4 != null)
                            {
                                global::_003CModule_003E.scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E_002EAddRef(ptr4);
                            }

                            try
                            {
                                if (@event != null)
                                {
                                    long num2 = (long)(nint)global::_003CModule_003E.scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E_002E_002D_003E(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E) + 32L;
                                    global::_003CModule_003E.FBroSharpSetVersionShareMem((VersionType)2);
                                    global::_003CModule_003E.gcroot_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEvent_0020_005E_003E_002E_003D((gcroot_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEvent_0020_005E_003E*)num2, @event);
                                }

                                System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefBrowser_003E scoped_refptr_003CCefBrowser_003E);
                                *(long*)(&scoped_refptr_003CCefBrowser_003E) = 0L;
                                System.Runtime.CompilerServices.Unsafe.SkipInit(out basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E obj);
                                basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E* str = global::_003CModule_003E.FBroSharp_002ESStringToCefString(&obj, user_flag);
                                try
                                {
                                    System.Runtime.CompilerServices.Unsafe.SkipInit(out CefStringBase_003CCefStringTraitsUTF16_003E cefStringBase_003CCefStringTraitsUTF16_003E);
                                    *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
                                    System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E, 8)) = 0L;
                                    System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, sbyte>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E, 16)) = 0;
                                    global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EFromWString(&cefStringBase_003CCefStringTraitsUTF16_003E, str);
                                    try
                                    {
                                        System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CFBroHsBroEvent_003E scoped_refptr_003CFBroHsBroEvent_003E);
                                        scoped_refptr_003CFBroHsBroEvent_003E* pThis = &scoped_refptr_003CFBroHsBroEvent_003E;
                                        System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefDictionaryValue_003E scoped_refptr_003CCefDictionaryValue_003E4);
                                        scoped_refptr_003CCefDictionaryValue_003E* pThis2 = &scoped_refptr_003CCefDictionaryValue_003E4;
                                        System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefRequestContext_003E scoped_refptr_003CCefRequestContext_003E4);
                                        scoped_refptr_003CCefRequestContext_003E* ptr5 = &scoped_refptr_003CCefRequestContext_003E4;
                                        System.Runtime.CompilerServices.Unsafe.SkipInit(out basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E obj2);
                                        basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E* str2 = global::_003CModule_003E.FBroSharp_002ESStringToCefString(&obj2, url);
                                        try
                                        {
                                            System.Runtime.CompilerServices.Unsafe.SkipInit(out CefStringBase_003CCefStringTraitsUTF16_003E cefStringBase_003CCefStringTraitsUTF16_003E2);
                                            *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E2) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
                                            System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E2, 8)) = 0L;
                                            System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, sbyte>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E2, 16)) = 0;
                                            global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EFromWString(&cefStringBase_003CCefStringTraitsUTF16_003E2, str2);
                                            try
                                            {
                                                *(long*)(&scoped_refptr_003CFBroHsBroEvent_003E) = *(long*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E);
                                                if (*(long*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E) != 0L)
                                                {
                                                    global::_003CModule_003E.scoped_refptr_003CFBroHsBroEvent_003E_002EAddRef((FBroHsBroEvent*)(*(ulong*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E)));
                                                }

                                                try
                                                {
                                                    *(long*)(&scoped_refptr_003CCefDictionaryValue_003E4) = *(long*)(&scoped_refptr_003CCefDictionaryValue_003E);
                                                    if (*(long*)(&scoped_refptr_003CCefDictionaryValue_003E) != 0L)
                                                    {
                                                        global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002EAddRef((CefDictionaryValue*)(*(ulong*)(&scoped_refptr_003CCefDictionaryValue_003E)));
                                                    }

                                                    try
                                                    {
                                                        *(long*)(&scoped_refptr_003CCefRequestContext_003E4) = *(long*)(&scoped_refptr_003CCefRequestContext_003E);
                                                        if (*(long*)(&scoped_refptr_003CCefRequestContext_003E) != 0L)
                                                        {
                                                            global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002EAddRef((CefRequestContext*)(*(ulong*)(&scoped_refptr_003CCefRequestContext_003E)));
                                                        }
                                                    }
                                                    catch
                                                    {
                                                        //try-fault
                                                        global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), pThis2);
                                                        throw;
                                                    }
                                                }
                                                catch
                                                {
                                                    //try-fault
                                                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CFBroHsBroEvent_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CFBroHsBroEvent_003E_002E_007Bdtor_007D), pThis);
                                                    throw;
                                                }

                                                global::_003CModule_003E.FBroHsCreateSync(&scoped_refptr_003CCefBrowser_003E, &cefStringBase_003CCefStringTraitsUTF16_003E2, (E_WINDOWS_INFO*)(&fBroSharpWindowsInfoDis), (E_BROWER_SETTING*)(&fBroSharpSharpBrowserSetting), &scoped_refptr_003CCefRequestContext_003E4, &scoped_refptr_003CCefDictionaryValue_003E4, &scoped_refptr_003CFBroHsBroEvent_003E, (Event_Disable_Control*)(&fBroSharpEventDisableControlDis), &cefStringBase_003CCefStringTraitsUTF16_003E);
                                            }
                                            catch
                                            {
                                                //try-fault
                                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CefStringBase_003CCefStringTraitsUTF16_003E*, void>)(&global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002E_007Bdtor_007D), &cefStringBase_003CCefStringTraitsUTF16_003E2);
                                                throw;
                                            }

                                            try
                                            {
                                                *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E2) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
                                                global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EClearAndFree(&cefStringBase_003CCefStringTraitsUTF16_003E2);
                                            }
                                            catch
                                            {
                                                //try-fault
                                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefBrowser_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefBrowser_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefBrowser_003E);
                                                throw;
                                            }
                                        }
                                        catch
                                        {
                                            //try-fault
                                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E*, void>)(&global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_007Bdtor_007D), &obj2);
                                            throw;
                                        }

                                        try
                                        {
                                            try
                                            {
                                                global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_Tidy_deallocate(&obj2);
                                            }
                                            catch
                                            {
                                                //try-fault
                                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E*, void>)(&global::_003CModule_003E.std_002E_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E_002E_007Bdtor_007D), &obj2);
                                                throw;
                                            }
                                        }
                                        catch
                                        {
                                            //try-fault
                                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefBrowser_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefBrowser_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefBrowser_003E);
                                            throw;
                                        }
                                    }
                                    catch
                                    {
                                        //try-fault
                                        global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CefStringBase_003CCefStringTraitsUTF16_003E*, void>)(&global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002E_007Bdtor_007D), &cefStringBase_003CCefStringTraitsUTF16_003E);
                                        throw;
                                    }

                                    try
                                    {
                                        *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
                                        global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EClearAndFree(&cefStringBase_003CCefStringTraitsUTF16_003E);
                                    }
                                    catch
                                    {
                                        //try-fault
                                        global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefBrowser_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefBrowser_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefBrowser_003E);
                                        throw;
                                    }
                                }
                                catch
                                {
                                    //try-fault
                                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E*, void>)(&global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_007Bdtor_007D), &obj);
                                    throw;
                                }

                                try
                                {
                                    try
                                    {
                                        global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_Tidy_deallocate(&obj);
                                    }
                                    catch
                                    {
                                        //try-fault
                                        global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E*, void>)(&global::_003CModule_003E.std_002E_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E_002E_007Bdtor_007D), &obj);
                                        throw;
                                    }

                                    if ((byte)((*(long*)(&scoped_refptr_003CCefBrowser_003E) != 0) ? 1u : 0u) != 0)
                                    {
                                        System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefBrowser_003E scoped_refptr_003CCefBrowser_003E2);
                                        scoped_refptr_003CCefBrowser_003E* ptr6 = &scoped_refptr_003CCefBrowser_003E2;
                                        *(long*)(&scoped_refptr_003CCefBrowser_003E2) = *(long*)(&scoped_refptr_003CCefBrowser_003E);
                                        if (*(long*)(&scoped_refptr_003CCefBrowser_003E) != 0L)
                                        {
                                            global::_003CModule_003E.scoped_refptr_003CCefBrowser_003E_002EAddRef((CefBrowser*)(*(ulong*)(&scoped_refptr_003CCefBrowser_003E)));
                                        }

                                        result = new FBroSharpBrowser(&scoped_refptr_003CCefBrowser_003E2);
                                    }
                                    else
                                    {
                                        result = null;
                                    }
                                }
                                catch
                                {
                                    //try-fault
                                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefBrowser_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefBrowser_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefBrowser_003E);
                                    throw;
                                }

                                if (*(long*)(&scoped_refptr_003CCefBrowser_003E) != 0L)
                                {
                                    global::_003CModule_003E.scoped_refptr_003CCefBrowser_003E_002ERelease((CefBrowser*)(*(ulong*)(&scoped_refptr_003CCefBrowser_003E)));
                                }
                            }
                            catch
                            {
                                //try-fault
                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E_002E_007Bdtor_007D), &scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E);
                                throw;
                            }

                            if (*(long*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E) != 0L)
                            {
                                global::_003CModule_003E.scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E_002ERelease((FBroSharpBrowserEventDis*)(*(ulong*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E)));
                            }
                        }
                        catch
                        {
                            //try-fault
                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E);
                            throw;
                        }

                        if (*(long*)(&scoped_refptr_003CCefDictionaryValue_003E) != 0L)
                        {
                            global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002ERelease((CefDictionaryValue*)(*(ulong*)(&scoped_refptr_003CCefDictionaryValue_003E)));
                        }
                    }
                    catch
                    {
                        //try-fault
                        global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E);
                        throw;
                    }

                    if (*(long*)(&scoped_refptr_003CCefRequestContext_003E) != 0L)
                    {
                        global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002ERelease((CefRequestContext*)(*(ulong*)(&scoped_refptr_003CCefRequestContext_003E)));
                    }
                }
                catch
                {
                    //try-fault
                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<FBroSharpEventDisableControlDis*, void>)(&global::_003CModule_003E.FBroSharp_002EFBroSharpEventDisableControlDis_002E_007Bdtor_007D), &fBroSharpEventDisableControlDis);
                    throw;
                }
            }
            catch
            {
                //try-fault
                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<FBroSharpSharpBrowserSetting*, void>)(&global::_003CModule_003E.FBroSharp_002EFBroSharpSharpBrowserSetting_002E_007Bdtor_007D), &fBroSharpSharpBrowserSetting);
                throw;
            }

            global::_003CModule_003E.FBroSharp_002EFBroSharpSharpBrowserSetting_002E_007Bdtor_007D(&fBroSharpSharpBrowserSetting);
        }
        catch
        {
            //try-fault
            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<FBroSharpWindowsInfoDis*, void>)(&global::_003CModule_003E.FBroSharp_002EFBroSharpWindowsInfoDis_002E_007Bdtor_007D), &fBroSharpWindowsInfoDis);
            throw;
        }

        global::_003CModule_003E.FBroSharp_002EFBroSharpWindowsInfoDis_002E_007Bdtor_007D(&fBroSharpWindowsInfoDis);
        return result;
    }

    //
    // 摘要:
    //     同步创建浏览器,注意只能在浏览器的UI线程中运行
    public static FBroSharpBrowser CreateSync(string url, FBroSharpWindowsInfo windows_info, FBroSharpBrowserSetting browserset_info, FBroSharpRequestContext request, FBroSharpDictionaryValue extra_info, FBroSharpBrowserEvent @event, FBroSharpEventDisableControl event_contrl)
    {
        return CreateSync(url, windows_info, browserset_info, request, extra_info, @event, event_contrl, "");
    }

    //
    // 摘要:
    //     创建后台浏览器
    [return: MarshalAs(UnmanagedType.U1)]
    public unsafe static bool CreateBackground(string url, FBroSharpBrowserSetting browserset_info, FBroSharpRequestContext request, FBroSharpDictionaryValue extra_info, FBroSharpBrowserEvent @event, FBroSharpEventDisableControl event_contrl, string user_flag)
    {
        //IL_00cc: Expected I, but got I8
        //IL_010e: Expected I, but got I8
        //IL_01bb: Expected I, but got I8
        //IL_01fd: Expected I, but got I8
        //IL_0228: Expected I, but got I8
        //IL_021b: Expected I4, but got I8
        //IL_023b: Expected I8, but got I
        //IL_0260: Expected I, but got I8
        //IL_02d5: Expected I, but got I8
        //IL_02e8: Expected I, but got I8
        //IL_02fb: Expected I, but got I8
        //IL_03e4: Expected I, but got I8
        //IL_0403: Expected I, but got I8
        //IL_0422: Expected I, but got I8
        uint num = 0u;
        System.Runtime.CompilerServices.Unsafe.SkipInit(out FBroSharpSharpBrowserSetting fBroSharpSharpBrowserSetting);
        global::_003CModule_003E.FBroSharp_002EFBroSharpSharpBrowserSetting_002E_007Bctor_007D(&fBroSharpSharpBrowserSetting, browserset_info);
        bool result;
        try
        {
            System.Runtime.CompilerServices.Unsafe.SkipInit(out FBroSharpEventDisableControlDis fBroSharpEventDisableControlDis);
            global::_003CModule_003E.FBroSharp_002EFBroSharpEventDisableControlDis_002E_007Bctor_007D(&fBroSharpEventDisableControlDis, event_contrl);
            try
            {
                System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefRequestContext_003E scoped_refptr_003CCefRequestContext_003E);
                *(long*)(&scoped_refptr_003CCefRequestContext_003E) = 0L;
                scoped_refptr_003CCefRequestContext_003E* ptr;
                System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefRequestContext_003E scoped_refptr_003CCefRequestContext_003E2);
                System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefRequestContext_003E scoped_refptr_003CCefRequestContext_003E3);
                if (request != null)
                {
                    ptr = request.GetObject(&scoped_refptr_003CCefRequestContext_003E2);
                    try
                    {
                        num = 1u;
                    }
                    catch
                    {
                        //try-fault
                        if ((num & (true ? 1u : 0u)) != 0)
                        {
                            num &= 0xFFFFFFFEu;
                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E2);
                        }

                        throw;
                    }
                }
                else
                {
                    *(long*)(&scoped_refptr_003CCefRequestContext_003E3) = 0L;
                    ptr = &scoped_refptr_003CCefRequestContext_003E3;
                    try
                    {
                        try
                        {
                            num = 2u;
                        }
                        catch
                        {
                            //try-fault
                            if ((num & 2u) != 0)
                            {
                                num &= 0xFFFFFFFDu;
                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E3);
                            }

                            throw;
                        }
                    }
                    catch
                    {
                        //try-fault
                        if ((num & (true ? 1u : 0u)) != 0)
                        {
                            num &= 0xFFFFFFFEu;
                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E2);
                        }

                        throw;
                    }
                }

                try
                {
                    try
                    {
                        *(long*)(&scoped_refptr_003CCefRequestContext_003E) = *(long*)ptr;
                        *(long*)ptr = 0L;
                    }
                    catch
                    {
                        //try-fault
                        if ((num & 2u) != 0)
                        {
                            num &= 0xFFFFFFFDu;
                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E3);
                        }

                        throw;
                    }

                    try
                    {
                        if ((num & 2u) != 0)
                        {
                            num &= 0xFFFFFFFDu;
                            if (*(long*)(&scoped_refptr_003CCefRequestContext_003E3) != 0L)
                            {
                                global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002ERelease((CefRequestContext*)(*(ulong*)(&scoped_refptr_003CCefRequestContext_003E3)));
                            }
                        }
                    }
                    catch
                    {
                        //try-fault
                        global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E);
                        throw;
                    }
                }
                catch
                {
                    //try-fault
                    if ((num & (true ? 1u : 0u)) != 0)
                    {
                        num &= 0xFFFFFFFEu;
                        global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E2);
                    }

                    throw;
                }

                try
                {
                    if ((num & (true ? 1u : 0u)) != 0)
                    {
                        num &= 0xFFFFFFFEu;
                        if (*(long*)(&scoped_refptr_003CCefRequestContext_003E2) != 0L)
                        {
                            global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002ERelease((CefRequestContext*)(*(ulong*)(&scoped_refptr_003CCefRequestContext_003E2)));
                        }
                    }

                    System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefDictionaryValue_003E scoped_refptr_003CCefDictionaryValue_003E);
                    *(long*)(&scoped_refptr_003CCefDictionaryValue_003E) = 0L;
                    scoped_refptr_003CCefDictionaryValue_003E* ptr2;
                    System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefDictionaryValue_003E scoped_refptr_003CCefDictionaryValue_003E2);
                    System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefDictionaryValue_003E scoped_refptr_003CCefDictionaryValue_003E3);
                    if (extra_info != null)
                    {
                        ptr2 = extra_info.GetObject(&scoped_refptr_003CCefDictionaryValue_003E2);
                        try
                        {
                            num |= 4u;
                        }
                        catch
                        {
                            //try-fault
                            if ((num & 4u) != 0)
                            {
                                num &= 0xFFFFFFFBu;
                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E2);
                            }

                            throw;
                        }
                    }
                    else
                    {
                        *(long*)(&scoped_refptr_003CCefDictionaryValue_003E3) = 0L;
                        ptr2 = &scoped_refptr_003CCefDictionaryValue_003E3;
                        try
                        {
                            try
                            {
                                num |= 8u;
                            }
                            catch
                            {
                                //try-fault
                                if ((num & 8u) != 0)
                                {
                                    num &= 0xFFFFFFF7u;
                                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E3);
                                }

                                throw;
                            }
                        }
                        catch
                        {
                            //try-fault
                            if ((num & 4u) != 0)
                            {
                                num &= 0xFFFFFFFBu;
                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E2);
                            }

                            throw;
                        }
                    }

                    try
                    {
                        try
                        {
                            *(long*)(&scoped_refptr_003CCefDictionaryValue_003E) = *(long*)ptr2;
                            *(long*)ptr2 = 0L;
                        }
                        catch
                        {
                            //try-fault
                            if ((num & 8u) != 0)
                            {
                                num &= 0xFFFFFFF7u;
                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E3);
                            }

                            throw;
                        }

                        try
                        {
                            if ((num & 8u) != 0)
                            {
                                num &= 0xFFFFFFF7u;
                                if (*(long*)(&scoped_refptr_003CCefDictionaryValue_003E3) != 0L)
                                {
                                    global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002ERelease((CefDictionaryValue*)(*(ulong*)(&scoped_refptr_003CCefDictionaryValue_003E3)));
                                }
                            }
                        }
                        catch
                        {
                            //try-fault
                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E);
                            throw;
                        }
                    }
                    catch
                    {
                        //try-fault
                        if ((num & 4u) != 0)
                        {
                            num &= 0xFFFFFFFBu;
                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E2);
                        }

                        throw;
                    }

                    try
                    {
                        if ((num & 4u) != 0)
                        {
                            num &= 0xFFFFFFFBu;
                            if (*(long*)(&scoped_refptr_003CCefDictionaryValue_003E2) != 0L)
                            {
                                global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002ERelease((CefDictionaryValue*)(*(ulong*)(&scoped_refptr_003CCefDictionaryValue_003E2)));
                            }
                        }

                        System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E);
                        *(long*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E) = 0L;
                        FBroSharpBrowserEventDis* ptr3 = (FBroSharpBrowserEventDis*)global::_003CModule_003E.@new(128uL);
                        FBroSharpBrowserEventDis* ptr4;
                        try
                        {
                            if (ptr3 != null)
                            {
                                // IL initblk instruction
                                System.Runtime.CompilerServices.Unsafe.InitBlock(ptr3, 0, 128);
                                ptr4 = global::_003CModule_003E.FBroSharp_002EEvent_002EFBroSharpBrowserEventDis_002E_007Bctor_007D(ptr3, 1);
                            }
                            else
                            {
                                ptr4 = null;
                            }
                        }
                        catch
                        {
                            //try-fault
                            global::_003CModule_003E.delete(ptr3, 128uL);
                            throw;
                        }

                        *(long*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E) = (nint)ptr4;
                        if (ptr4 != null)
                        {
                            global::_003CModule_003E.scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E_002EAddRef(ptr4);
                        }

                        try
                        {
                            if (@event != null)
                            {
                                long num2 = (long)(nint)global::_003CModule_003E.scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E_002E_002D_003E(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E) + 32L;
                                global::_003CModule_003E.FBroSharpSetVersionShareMem((VersionType)2);
                                global::_003CModule_003E.gcroot_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEvent_0020_005E_003E_002E_003D((gcroot_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEvent_0020_005E_003E*)num2, @event);
                            }

                            System.Runtime.CompilerServices.Unsafe.SkipInit(out basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E obj);
                            basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E* str = global::_003CModule_003E.FBroSharp_002ESStringToCefString(&obj, user_flag);
                            try
                            {
                                System.Runtime.CompilerServices.Unsafe.SkipInit(out CefStringBase_003CCefStringTraitsUTF16_003E cefStringBase_003CCefStringTraitsUTF16_003E);
                                *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
                                System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E, 8)) = 0L;
                                System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, sbyte>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E, 16)) = 0;
                                global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EFromWString(&cefStringBase_003CCefStringTraitsUTF16_003E, str);
                                try
                                {
                                    System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CFBroHsBroEvent_003E scoped_refptr_003CFBroHsBroEvent_003E);
                                    scoped_refptr_003CFBroHsBroEvent_003E* pThis = &scoped_refptr_003CFBroHsBroEvent_003E;
                                    System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefDictionaryValue_003E scoped_refptr_003CCefDictionaryValue_003E4);
                                    scoped_refptr_003CCefDictionaryValue_003E* pThis2 = &scoped_refptr_003CCefDictionaryValue_003E4;
                                    System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefRequestContext_003E scoped_refptr_003CCefRequestContext_003E4);
                                    scoped_refptr_003CCefRequestContext_003E* ptr5 = &scoped_refptr_003CCefRequestContext_003E4;
                                    System.Runtime.CompilerServices.Unsafe.SkipInit(out basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E obj2);
                                    basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E* str2 = global::_003CModule_003E.FBroSharp_002ESStringToCefString(&obj2, url);
                                    try
                                    {
                                        System.Runtime.CompilerServices.Unsafe.SkipInit(out CefStringBase_003CCefStringTraitsUTF16_003E cefStringBase_003CCefStringTraitsUTF16_003E2);
                                        *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E2) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
                                        System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E2, 8)) = 0L;
                                        System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, sbyte>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E2, 16)) = 0;
                                        global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EFromWString(&cefStringBase_003CCefStringTraitsUTF16_003E2, str2);
                                        try
                                        {
                                            *(long*)(&scoped_refptr_003CFBroHsBroEvent_003E) = *(long*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E);
                                            if (*(long*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E) != 0L)
                                            {
                                                global::_003CModule_003E.scoped_refptr_003CFBroHsBroEvent_003E_002EAddRef((FBroHsBroEvent*)(*(ulong*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E)));
                                            }

                                            try
                                            {
                                                *(long*)(&scoped_refptr_003CCefDictionaryValue_003E4) = *(long*)(&scoped_refptr_003CCefDictionaryValue_003E);
                                                if (*(long*)(&scoped_refptr_003CCefDictionaryValue_003E) != 0L)
                                                {
                                                    global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002EAddRef((CefDictionaryValue*)(*(ulong*)(&scoped_refptr_003CCefDictionaryValue_003E)));
                                                }

                                                try
                                                {
                                                    *(long*)(&scoped_refptr_003CCefRequestContext_003E4) = *(long*)(&scoped_refptr_003CCefRequestContext_003E);
                                                    if (*(long*)(&scoped_refptr_003CCefRequestContext_003E) != 0L)
                                                    {
                                                        global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002EAddRef((CefRequestContext*)(*(ulong*)(&scoped_refptr_003CCefRequestContext_003E)));
                                                    }
                                                }
                                                catch
                                                {
                                                    //try-fault
                                                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), pThis2);
                                                    throw;
                                                }
                                            }
                                            catch
                                            {
                                                //try-fault
                                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CFBroHsBroEvent_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CFBroHsBroEvent_003E_002E_007Bdtor_007D), pThis);
                                                throw;
                                            }

                                            result = ((global::_003CModule_003E.FBroHsCreateBackground(&cefStringBase_003CCefStringTraitsUTF16_003E2, (E_BROWER_SETTING*)(&fBroSharpSharpBrowserSetting), &scoped_refptr_003CCefRequestContext_003E4, &scoped_refptr_003CCefDictionaryValue_003E4, &scoped_refptr_003CFBroHsBroEvent_003E, (Event_Disable_Control*)(&fBroSharpEventDisableControlDis), &cefStringBase_003CCefStringTraitsUTF16_003E) != 0) ? true : false);
                                        }
                                        catch
                                        {
                                            //try-fault
                                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CefStringBase_003CCefStringTraitsUTF16_003E*, void>)(&global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002E_007Bdtor_007D), &cefStringBase_003CCefStringTraitsUTF16_003E2);
                                            throw;
                                        }

                                        *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E2) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
                                        global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EClearAndFree(&cefStringBase_003CCefStringTraitsUTF16_003E2);
                                    }
                                    catch
                                    {
                                        //try-fault
                                        global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E*, void>)(&global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_007Bdtor_007D), &obj2);
                                        throw;
                                    }

                                    try
                                    {
                                        global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_Tidy_deallocate(&obj2);
                                    }
                                    catch
                                    {
                                        //try-fault
                                        global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E*, void>)(&global::_003CModule_003E.std_002E_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E_002E_007Bdtor_007D), &obj2);
                                        throw;
                                    }
                                }
                                catch
                                {
                                    //try-fault
                                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CefStringBase_003CCefStringTraitsUTF16_003E*, void>)(&global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002E_007Bdtor_007D), &cefStringBase_003CCefStringTraitsUTF16_003E);
                                    throw;
                                }

                                *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
                                global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EClearAndFree(&cefStringBase_003CCefStringTraitsUTF16_003E);
                            }
                            catch
                            {
                                //try-fault
                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E*, void>)(&global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_007Bdtor_007D), &obj);
                                throw;
                            }

                            try
                            {
                                global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_Tidy_deallocate(&obj);
                            }
                            catch
                            {
                                //try-fault
                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E*, void>)(&global::_003CModule_003E.std_002E_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E_002E_007Bdtor_007D), &obj);
                                throw;
                            }
                        }
                        catch
                        {
                            //try-fault
                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E_002E_007Bdtor_007D), &scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E);
                            throw;
                        }

                        if (*(long*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E) != 0L)
                        {
                            global::_003CModule_003E.scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E_002ERelease((FBroSharpBrowserEventDis*)(*(ulong*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E)));
                        }
                    }
                    catch
                    {
                        //try-fault
                        global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E);
                        throw;
                    }

                    if (*(long*)(&scoped_refptr_003CCefDictionaryValue_003E) != 0L)
                    {
                        global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002ERelease((CefDictionaryValue*)(*(ulong*)(&scoped_refptr_003CCefDictionaryValue_003E)));
                    }
                }
                catch
                {
                    //try-fault
                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E);
                    throw;
                }

                if (*(long*)(&scoped_refptr_003CCefRequestContext_003E) != 0L)
                {
                    global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002ERelease((CefRequestContext*)(*(ulong*)(&scoped_refptr_003CCefRequestContext_003E)));
                }
            }
            catch
            {
                //try-fault
                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<FBroSharpEventDisableControlDis*, void>)(&global::_003CModule_003E.FBroSharp_002EFBroSharpEventDisableControlDis_002E_007Bdtor_007D), &fBroSharpEventDisableControlDis);
                throw;
            }
        }
        catch
        {
            //try-fault
            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<FBroSharpSharpBrowserSetting*, void>)(&global::_003CModule_003E.FBroSharp_002EFBroSharpSharpBrowserSetting_002E_007Bdtor_007D), &fBroSharpSharpBrowserSetting);
            throw;
        }

        global::_003CModule_003E.FBroSharp_002EFBroSharpSharpBrowserSetting_002E_007Bdtor_007D(&fBroSharpSharpBrowserSetting);
        return result;
    }

    //
    // 摘要:
    //     创建后台浏览器
    [return: MarshalAs(UnmanagedType.U1)]
    public static bool CreateBackground(string url, FBroSharpBrowserSetting browserset_info, FBroSharpRequestContext request, FBroSharpDictionaryValue extra_info, FBroSharpBrowserEvent @event, FBroSharpEventDisableControl event_contrl)
    {
        return CreateBackground(url, browserset_info, request, extra_info, @event, event_contrl, "");
    }

    //
    // 摘要:
    //     同步创建后台浏览器,注意只能在浏览器的UI线程中运行
    public unsafe static FBroSharpBrowser CreateBackgroundSync(string url, FBroSharpBrowserSetting browserset_info, FBroSharpRequestContext request, FBroSharpDictionaryValue extra_info, FBroSharpBrowserEvent @event, FBroSharpEventDisableControl event_contrl, string user_flag)
    {
        //IL_00cc: Expected I, but got I8
        //IL_010e: Expected I, but got I8
        //IL_01bb: Expected I, but got I8
        //IL_01fd: Expected I, but got I8
        //IL_0228: Expected I, but got I8
        //IL_021b: Expected I4, but got I8
        //IL_023b: Expected I8, but got I
        //IL_0260: Expected I, but got I8
        //IL_02da: Expected I, but got I8
        //IL_02ed: Expected I, but got I8
        //IL_0300: Expected I, but got I8
        //IL_041b: Expected I, but got I8
        //IL_0448: Expected I, but got I8
        //IL_0467: Expected I, but got I8
        //IL_0486: Expected I, but got I8
        //IL_04a5: Expected I, but got I8
        uint num = 0u;
        System.Runtime.CompilerServices.Unsafe.SkipInit(out FBroSharpSharpBrowserSetting fBroSharpSharpBrowserSetting);
        global::_003CModule_003E.FBroSharp_002EFBroSharpSharpBrowserSetting_002E_007Bctor_007D(&fBroSharpSharpBrowserSetting, browserset_info);
        FBroSharpBrowser result;
        try
        {
            System.Runtime.CompilerServices.Unsafe.SkipInit(out FBroSharpEventDisableControlDis fBroSharpEventDisableControlDis);
            global::_003CModule_003E.FBroSharp_002EFBroSharpEventDisableControlDis_002E_007Bctor_007D(&fBroSharpEventDisableControlDis, event_contrl);
            try
            {
                System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefRequestContext_003E scoped_refptr_003CCefRequestContext_003E);
                *(long*)(&scoped_refptr_003CCefRequestContext_003E) = 0L;
                scoped_refptr_003CCefRequestContext_003E* ptr;
                System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefRequestContext_003E scoped_refptr_003CCefRequestContext_003E2);
                System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefRequestContext_003E scoped_refptr_003CCefRequestContext_003E3);
                if (request != null)
                {
                    ptr = request.GetObject(&scoped_refptr_003CCefRequestContext_003E2);
                    try
                    {
                        num = 1u;
                    }
                    catch
                    {
                        //try-fault
                        if ((num & (true ? 1u : 0u)) != 0)
                        {
                            num &= 0xFFFFFFFEu;
                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E2);
                        }

                        throw;
                    }
                }
                else
                {
                    *(long*)(&scoped_refptr_003CCefRequestContext_003E3) = 0L;
                    ptr = &scoped_refptr_003CCefRequestContext_003E3;
                    try
                    {
                        try
                        {
                            num = 2u;
                        }
                        catch
                        {
                            //try-fault
                            if ((num & 2u) != 0)
                            {
                                num &= 0xFFFFFFFDu;
                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E3);
                            }

                            throw;
                        }
                    }
                    catch
                    {
                        //try-fault
                        if ((num & (true ? 1u : 0u)) != 0)
                        {
                            num &= 0xFFFFFFFEu;
                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E2);
                        }

                        throw;
                    }
                }

                try
                {
                    try
                    {
                        *(long*)(&scoped_refptr_003CCefRequestContext_003E) = *(long*)ptr;
                        *(long*)ptr = 0L;
                    }
                    catch
                    {
                        //try-fault
                        if ((num & 2u) != 0)
                        {
                            num &= 0xFFFFFFFDu;
                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E3);
                        }

                        throw;
                    }

                    try
                    {
                        if ((num & 2u) != 0)
                        {
                            num &= 0xFFFFFFFDu;
                            if (*(long*)(&scoped_refptr_003CCefRequestContext_003E3) != 0L)
                            {
                                global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002ERelease((CefRequestContext*)(*(ulong*)(&scoped_refptr_003CCefRequestContext_003E3)));
                            }
                        }
                    }
                    catch
                    {
                        //try-fault
                        global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E);
                        throw;
                    }
                }
                catch
                {
                    //try-fault
                    if ((num & (true ? 1u : 0u)) != 0)
                    {
                        num &= 0xFFFFFFFEu;
                        global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E2);
                    }

                    throw;
                }

                try
                {
                    if ((num & (true ? 1u : 0u)) != 0)
                    {
                        num &= 0xFFFFFFFEu;
                        if (*(long*)(&scoped_refptr_003CCefRequestContext_003E2) != 0L)
                        {
                            global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002ERelease((CefRequestContext*)(*(ulong*)(&scoped_refptr_003CCefRequestContext_003E2)));
                        }
                    }

                    System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefDictionaryValue_003E scoped_refptr_003CCefDictionaryValue_003E);
                    *(long*)(&scoped_refptr_003CCefDictionaryValue_003E) = 0L;
                    scoped_refptr_003CCefDictionaryValue_003E* ptr2;
                    System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefDictionaryValue_003E scoped_refptr_003CCefDictionaryValue_003E2);
                    System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefDictionaryValue_003E scoped_refptr_003CCefDictionaryValue_003E3);
                    if (extra_info != null)
                    {
                        ptr2 = extra_info.GetObject(&scoped_refptr_003CCefDictionaryValue_003E2);
                        try
                        {
                            num |= 4u;
                        }
                        catch
                        {
                            //try-fault
                            if ((num & 4u) != 0)
                            {
                                num &= 0xFFFFFFFBu;
                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E2);
                            }

                            throw;
                        }
                    }
                    else
                    {
                        *(long*)(&scoped_refptr_003CCefDictionaryValue_003E3) = 0L;
                        ptr2 = &scoped_refptr_003CCefDictionaryValue_003E3;
                        try
                        {
                            try
                            {
                                num |= 8u;
                            }
                            catch
                            {
                                //try-fault
                                if ((num & 8u) != 0)
                                {
                                    num &= 0xFFFFFFF7u;
                                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E3);
                                }

                                throw;
                            }
                        }
                        catch
                        {
                            //try-fault
                            if ((num & 4u) != 0)
                            {
                                num &= 0xFFFFFFFBu;
                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E2);
                            }

                            throw;
                        }
                    }

                    try
                    {
                        try
                        {
                            *(long*)(&scoped_refptr_003CCefDictionaryValue_003E) = *(long*)ptr2;
                            *(long*)ptr2 = 0L;
                        }
                        catch
                        {
                            //try-fault
                            if ((num & 8u) != 0)
                            {
                                num &= 0xFFFFFFF7u;
                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E3);
                            }

                            throw;
                        }

                        try
                        {
                            if ((num & 8u) != 0)
                            {
                                num &= 0xFFFFFFF7u;
                                if (*(long*)(&scoped_refptr_003CCefDictionaryValue_003E3) != 0L)
                                {
                                    global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002ERelease((CefDictionaryValue*)(*(ulong*)(&scoped_refptr_003CCefDictionaryValue_003E3)));
                                }
                            }
                        }
                        catch
                        {
                            //try-fault
                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E);
                            throw;
                        }
                    }
                    catch
                    {
                        //try-fault
                        if ((num & 4u) != 0)
                        {
                            num &= 0xFFFFFFFBu;
                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E2);
                        }

                        throw;
                    }

                    try
                    {
                        if ((num & 4u) != 0)
                        {
                            num &= 0xFFFFFFFBu;
                            if (*(long*)(&scoped_refptr_003CCefDictionaryValue_003E2) != 0L)
                            {
                                global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002ERelease((CefDictionaryValue*)(*(ulong*)(&scoped_refptr_003CCefDictionaryValue_003E2)));
                            }
                        }

                        System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E);
                        *(long*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E) = 0L;
                        FBroSharpBrowserEventDis* ptr3 = (FBroSharpBrowserEventDis*)global::_003CModule_003E.@new(128uL);
                        FBroSharpBrowserEventDis* ptr4;
                        try
                        {
                            if (ptr3 != null)
                            {
                                // IL initblk instruction
                                System.Runtime.CompilerServices.Unsafe.InitBlock(ptr3, 0, 128);
                                ptr4 = global::_003CModule_003E.FBroSharp_002EEvent_002EFBroSharpBrowserEventDis_002E_007Bctor_007D(ptr3, 1);
                            }
                            else
                            {
                                ptr4 = null;
                            }
                        }
                        catch
                        {
                            //try-fault
                            global::_003CModule_003E.delete(ptr3, 128uL);
                            throw;
                        }

                        *(long*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E) = (nint)ptr4;
                        if (ptr4 != null)
                        {
                            global::_003CModule_003E.scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E_002EAddRef(ptr4);
                        }

                        try
                        {
                            if (@event != null)
                            {
                                long num2 = (long)(nint)global::_003CModule_003E.scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E_002E_002D_003E(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E) + 32L;
                                global::_003CModule_003E.FBroSharpSetVersionShareMem((VersionType)2);
                                global::_003CModule_003E.gcroot_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEvent_0020_005E_003E_002E_003D((gcroot_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEvent_0020_005E_003E*)num2, @event);
                            }

                            System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefBrowser_003E scoped_refptr_003CCefBrowser_003E);
                            *(long*)(&scoped_refptr_003CCefBrowser_003E) = 0L;
                            System.Runtime.CompilerServices.Unsafe.SkipInit(out basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E obj);
                            basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E* str = global::_003CModule_003E.FBroSharp_002ESStringToCefString(&obj, user_flag);
                            try
                            {
                                System.Runtime.CompilerServices.Unsafe.SkipInit(out CefStringBase_003CCefStringTraitsUTF16_003E cefStringBase_003CCefStringTraitsUTF16_003E);
                                *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
                                System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E, 8)) = 0L;
                                System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, sbyte>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E, 16)) = 0;
                                global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EFromWString(&cefStringBase_003CCefStringTraitsUTF16_003E, str);
                                try
                                {
                                    System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CFBroHsBroEvent_003E scoped_refptr_003CFBroHsBroEvent_003E);
                                    scoped_refptr_003CFBroHsBroEvent_003E* pThis = &scoped_refptr_003CFBroHsBroEvent_003E;
                                    System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefDictionaryValue_003E scoped_refptr_003CCefDictionaryValue_003E4);
                                    scoped_refptr_003CCefDictionaryValue_003E* pThis2 = &scoped_refptr_003CCefDictionaryValue_003E4;
                                    System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefRequestContext_003E scoped_refptr_003CCefRequestContext_003E4);
                                    scoped_refptr_003CCefRequestContext_003E* ptr5 = &scoped_refptr_003CCefRequestContext_003E4;
                                    System.Runtime.CompilerServices.Unsafe.SkipInit(out basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E obj2);
                                    basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E* str2 = global::_003CModule_003E.FBroSharp_002ESStringToCefString(&obj2, url);
                                    try
                                    {
                                        System.Runtime.CompilerServices.Unsafe.SkipInit(out CefStringBase_003CCefStringTraitsUTF16_003E cefStringBase_003CCefStringTraitsUTF16_003E2);
                                        *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E2) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
                                        System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E2, 8)) = 0L;
                                        System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, sbyte>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E2, 16)) = 0;
                                        global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EFromWString(&cefStringBase_003CCefStringTraitsUTF16_003E2, str2);
                                        try
                                        {
                                            *(long*)(&scoped_refptr_003CFBroHsBroEvent_003E) = *(long*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E);
                                            if (*(long*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E) != 0L)
                                            {
                                                global::_003CModule_003E.scoped_refptr_003CFBroHsBroEvent_003E_002EAddRef((FBroHsBroEvent*)(*(ulong*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E)));
                                            }

                                            try
                                            {
                                                *(long*)(&scoped_refptr_003CCefDictionaryValue_003E4) = *(long*)(&scoped_refptr_003CCefDictionaryValue_003E);
                                                if (*(long*)(&scoped_refptr_003CCefDictionaryValue_003E) != 0L)
                                                {
                                                    global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002EAddRef((CefDictionaryValue*)(*(ulong*)(&scoped_refptr_003CCefDictionaryValue_003E)));
                                                }

                                                try
                                                {
                                                    *(long*)(&scoped_refptr_003CCefRequestContext_003E4) = *(long*)(&scoped_refptr_003CCefRequestContext_003E);
                                                    if (*(long*)(&scoped_refptr_003CCefRequestContext_003E) != 0L)
                                                    {
                                                        global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002EAddRef((CefRequestContext*)(*(ulong*)(&scoped_refptr_003CCefRequestContext_003E)));
                                                    }
                                                }
                                                catch
                                                {
                                                    //try-fault
                                                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), pThis2);
                                                    throw;
                                                }
                                            }
                                            catch
                                            {
                                                //try-fault
                                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CFBroHsBroEvent_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CFBroHsBroEvent_003E_002E_007Bdtor_007D), pThis);
                                                throw;
                                            }

                                            global::_003CModule_003E.FBroHsCreateBackgroundSync(&scoped_refptr_003CCefBrowser_003E, &cefStringBase_003CCefStringTraitsUTF16_003E2, (E_BROWER_SETTING*)(&fBroSharpSharpBrowserSetting), &scoped_refptr_003CCefRequestContext_003E4, &scoped_refptr_003CCefDictionaryValue_003E4, &scoped_refptr_003CFBroHsBroEvent_003E, (Event_Disable_Control*)(&fBroSharpEventDisableControlDis), &cefStringBase_003CCefStringTraitsUTF16_003E);
                                        }
                                        catch
                                        {
                                            //try-fault
                                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CefStringBase_003CCefStringTraitsUTF16_003E*, void>)(&global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002E_007Bdtor_007D), &cefStringBase_003CCefStringTraitsUTF16_003E2);
                                            throw;
                                        }

                                        try
                                        {
                                            *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E2) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
                                            global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EClearAndFree(&cefStringBase_003CCefStringTraitsUTF16_003E2);
                                        }
                                        catch
                                        {
                                            //try-fault
                                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefBrowser_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefBrowser_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefBrowser_003E);
                                            throw;
                                        }
                                    }
                                    catch
                                    {
                                        //try-fault
                                        global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E*, void>)(&global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_007Bdtor_007D), &obj2);
                                        throw;
                                    }

                                    try
                                    {
                                        try
                                        {
                                            global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_Tidy_deallocate(&obj2);
                                        }
                                        catch
                                        {
                                            //try-fault
                                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E*, void>)(&global::_003CModule_003E.std_002E_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E_002E_007Bdtor_007D), &obj2);
                                            throw;
                                        }
                                    }
                                    catch
                                    {
                                        //try-fault
                                        global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefBrowser_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefBrowser_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefBrowser_003E);
                                        throw;
                                    }
                                }
                                catch
                                {
                                    //try-fault
                                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CefStringBase_003CCefStringTraitsUTF16_003E*, void>)(&global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002E_007Bdtor_007D), &cefStringBase_003CCefStringTraitsUTF16_003E);
                                    throw;
                                }

                                try
                                {
                                    *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
                                    global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EClearAndFree(&cefStringBase_003CCefStringTraitsUTF16_003E);
                                }
                                catch
                                {
                                    //try-fault
                                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefBrowser_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefBrowser_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefBrowser_003E);
                                    throw;
                                }
                            }
                            catch
                            {
                                //try-fault
                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E*, void>)(&global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_007Bdtor_007D), &obj);
                                throw;
                            }

                            try
                            {
                                try
                                {
                                    global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_Tidy_deallocate(&obj);
                                }
                                catch
                                {
                                    //try-fault
                                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E*, void>)(&global::_003CModule_003E.std_002E_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E_002E_007Bdtor_007D), &obj);
                                    throw;
                                }

                                if ((byte)((*(long*)(&scoped_refptr_003CCefBrowser_003E) != 0) ? 1u : 0u) != 0)
                                {
                                    System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefBrowser_003E scoped_refptr_003CCefBrowser_003E2);
                                    scoped_refptr_003CCefBrowser_003E* ptr6 = &scoped_refptr_003CCefBrowser_003E2;
                                    *(long*)(&scoped_refptr_003CCefBrowser_003E2) = *(long*)(&scoped_refptr_003CCefBrowser_003E);
                                    if (*(long*)(&scoped_refptr_003CCefBrowser_003E) != 0L)
                                    {
                                        global::_003CModule_003E.scoped_refptr_003CCefBrowser_003E_002EAddRef((CefBrowser*)(*(ulong*)(&scoped_refptr_003CCefBrowser_003E)));
                                    }

                                    result = new FBroSharpBrowser(&scoped_refptr_003CCefBrowser_003E2);
                                }
                                else
                                {
                                    result = null;
                                }
                            }
                            catch
                            {
                                //try-fault
                                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefBrowser_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefBrowser_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefBrowser_003E);
                                throw;
                            }

                            if (*(long*)(&scoped_refptr_003CCefBrowser_003E) != 0L)
                            {
                                global::_003CModule_003E.scoped_refptr_003CCefBrowser_003E_002ERelease((CefBrowser*)(*(ulong*)(&scoped_refptr_003CCefBrowser_003E)));
                            }
                        }
                        catch
                        {
                            //try-fault
                            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E_002E_007Bdtor_007D), &scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E);
                            throw;
                        }

                        if (*(long*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E) != 0L)
                        {
                            global::_003CModule_003E.scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E_002ERelease((FBroSharpBrowserEventDis*)(*(ulong*)(&scoped_refptr_003CFBroSharp_003A_003AEvent_003A_003AFBroSharpBrowserEventDis_003E)));
                        }
                    }
                    catch
                    {
                        //try-fault
                        global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefDictionaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefDictionaryValue_003E);
                        throw;
                    }

                    if (*(long*)(&scoped_refptr_003CCefDictionaryValue_003E) != 0L)
                    {
                        global::_003CModule_003E.scoped_refptr_003CCefDictionaryValue_003E_002ERelease((CefDictionaryValue*)(*(ulong*)(&scoped_refptr_003CCefDictionaryValue_003E)));
                    }
                }
                catch
                {
                    //try-fault
                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefRequestContext_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefRequestContext_003E);
                    throw;
                }

                if (*(long*)(&scoped_refptr_003CCefRequestContext_003E) != 0L)
                {
                    global::_003CModule_003E.scoped_refptr_003CCefRequestContext_003E_002ERelease((CefRequestContext*)(*(ulong*)(&scoped_refptr_003CCefRequestContext_003E)));
                }
            }
            catch
            {
                //try-fault
                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<FBroSharpEventDisableControlDis*, void>)(&global::_003CModule_003E.FBroSharp_002EFBroSharpEventDisableControlDis_002E_007Bdtor_007D), &fBroSharpEventDisableControlDis);
                throw;
            }
        }
        catch
        {
            //try-fault
            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<FBroSharpSharpBrowserSetting*, void>)(&global::_003CModule_003E.FBroSharp_002EFBroSharpSharpBrowserSetting_002E_007Bdtor_007D), &fBroSharpSharpBrowserSetting);
            throw;
        }

        global::_003CModule_003E.FBroSharp_002EFBroSharpSharpBrowserSetting_002E_007Bdtor_007D(&fBroSharpSharpBrowserSetting);
        return result;
    }

    //
    // 摘要:
    //     同步创建后台浏览器,注意只能在浏览器的UI线程中运行
    public static FBroSharpBrowser CreateBackgroundSync(string url, FBroSharpBrowserSetting browserset_info, FBroSharpRequestContext request, FBroSharpDictionaryValue extra_info, FBroSharpBrowserEvent @event, FBroSharpEventDisableControl event_contrl)
    {
        return CreateBackgroundSync(url, browserset_info, request, extra_info, @event, event_contrl, "");
    }

    //
    // 摘要:
    //     Base64编码
    public unsafe static string Base64Encode(string data)
    {
        uint num = 0u;
        System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CFBroString_003E scoped_refptr_003CFBroString_003E);
        scoped_refptr_003CFBroString_003E* ptr = &scoped_refptr_003CFBroString_003E;
        System.Runtime.CompilerServices.Unsafe.SkipInit(out basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E obj);
        basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E* str = global::_003CModule_003E.FBroSharp_002ESStringToCefString(&obj, data);
        string result;
        try
        {
            System.Runtime.CompilerServices.Unsafe.SkipInit(out CefStringBase_003CCefStringTraitsUTF16_003E cefStringBase_003CCefStringTraitsUTF16_003E);
            *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
            System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E, 8)) = 0L;
            System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, sbyte>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E, 16)) = 0;
            global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EFromWString(&cefStringBase_003CCefStringTraitsUTF16_003E, str);
            try
            {
                scoped_refptr_003CFBroString_003E* indata = global::_003CModule_003E.FBroHsBase64Encode(&scoped_refptr_003CFBroString_003E, &cefStringBase_003CCefStringTraitsUTF16_003E);
                result = global::_003CModule_003E.FBroSharp_002EFBroStringToSString(indata);
            }
            catch
            {
                //try-fault
                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CefStringBase_003CCefStringTraitsUTF16_003E*, void>)(&global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002E_007Bdtor_007D), &cefStringBase_003CCefStringTraitsUTF16_003E);
                throw;
            }

            *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
            global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EClearAndFree(&cefStringBase_003CCefStringTraitsUTF16_003E);
        }
        catch
        {
            //try-fault
            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E*, void>)(&global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_007Bdtor_007D), &obj);
            throw;
        }

        try
        {
            global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_Tidy_deallocate(&obj);
            return result;
        }
        catch
        {
            //try-fault
            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E*, void>)(&global::_003CModule_003E.std_002E_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E_002E_007Bdtor_007D), &obj);
            throw;
        }
    }

    //
    // 摘要:
    //     Base64解码
    public unsafe static FBroSharpBinaryValue Base64Decode(string data)
    {
        //IL_00b6: Expected I, but got I8
        //IL_00df: Expected I, but got I8
        uint num = 0u;
        System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefBinaryValue_003E scoped_refptr_003CCefBinaryValue_003E);
        *(long*)(&scoped_refptr_003CCefBinaryValue_003E) = 0L;
        System.Runtime.CompilerServices.Unsafe.SkipInit(out basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E obj);
        basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E* str = global::_003CModule_003E.FBroSharp_002ESStringToCefString(&obj, data);
        try
        {
            System.Runtime.CompilerServices.Unsafe.SkipInit(out CefStringBase_003CCefStringTraitsUTF16_003E cefStringBase_003CCefStringTraitsUTF16_003E);
            *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
            System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E, 8)) = 0L;
            System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, sbyte>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E, 16)) = 0;
            global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EFromWString(&cefStringBase_003CCefStringTraitsUTF16_003E, str);
            try
            {
                global::_003CModule_003E.FBroHsBase64Decode(&scoped_refptr_003CCefBinaryValue_003E, &cefStringBase_003CCefStringTraitsUTF16_003E);
            }
            catch
            {
                //try-fault
                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CefStringBase_003CCefStringTraitsUTF16_003E*, void>)(&global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002E_007Bdtor_007D), &cefStringBase_003CCefStringTraitsUTF16_003E);
                throw;
            }

            try
            {
                *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
                global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EClearAndFree(&cefStringBase_003CCefStringTraitsUTF16_003E);
            }
            catch
            {
                //try-fault
                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefBinaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefBinaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefBinaryValue_003E);
                throw;
            }
        }
        catch
        {
            //try-fault
            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E*, void>)(&global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_007Bdtor_007D), &obj);
            throw;
        }

        FBroSharpBinaryValue result;
        try
        {
            try
            {
                global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_Tidy_deallocate(&obj);
            }
            catch
            {
                //try-fault
                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E*, void>)(&global::_003CModule_003E.std_002E_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E_002E_007Bdtor_007D), &obj);
                throw;
            }

            if ((byte)((*(long*)(&scoped_refptr_003CCefBinaryValue_003E) != 0) ? 1u : 0u) != 0)
            {
                System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefBinaryValue_003E scoped_refptr_003CCefBinaryValue_003E2);
                scoped_refptr_003CCefBinaryValue_003E* ptr = &scoped_refptr_003CCefBinaryValue_003E2;
                *(long*)(&scoped_refptr_003CCefBinaryValue_003E2) = *(long*)(&scoped_refptr_003CCefBinaryValue_003E);
                if (*(long*)(&scoped_refptr_003CCefBinaryValue_003E) != 0L)
                {
                    global::_003CModule_003E.scoped_refptr_003CCefBinaryValue_003E_002EAddRef((CefBinaryValue*)(*(ulong*)(&scoped_refptr_003CCefBinaryValue_003E)));
                }

                result = new FBroSharpBinaryValue(&scoped_refptr_003CCefBinaryValue_003E2);
            }
            else
            {
                result = null;
            }
        }
        catch
        {
            //try-fault
            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefBinaryValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefBinaryValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefBinaryValue_003E);
            throw;
        }

        if (*(long*)(&scoped_refptr_003CCefBinaryValue_003E) != 0L)
        {
            global::_003CModule_003E.scoped_refptr_003CCefBinaryValue_003E_002ERelease((CefBinaryValue*)(*(ulong*)(&scoped_refptr_003CCefBinaryValue_003E)));
        }

        return result;
    }

    //
    // 摘要:
    //     取URI数据
    public unsafe static string GetDataURI(string mime_type, string data)
    {
        uint num = 0u;
        System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CFBroString_003E scoped_refptr_003CFBroString_003E);
        scoped_refptr_003CFBroString_003E* ptr = &scoped_refptr_003CFBroString_003E;
        System.Runtime.CompilerServices.Unsafe.SkipInit(out basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E obj);
        basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E* str = global::_003CModule_003E.FBroSharp_002ESStringToCefString(&obj, data);
        string result;
        try
        {
            System.Runtime.CompilerServices.Unsafe.SkipInit(out CefStringBase_003CCefStringTraitsUTF16_003E cefStringBase_003CCefStringTraitsUTF16_003E);
            *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
            System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E, 8)) = 0L;
            System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, sbyte>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E, 16)) = 0;
            global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EFromWString(&cefStringBase_003CCefStringTraitsUTF16_003E, str);
            try
            {
                System.Runtime.CompilerServices.Unsafe.SkipInit(out basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E obj2);
                basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E* str2 = global::_003CModule_003E.FBroSharp_002ESStringToCefString(&obj2, mime_type);
                try
                {
                    System.Runtime.CompilerServices.Unsafe.SkipInit(out CefStringBase_003CCefStringTraitsUTF16_003E cefStringBase_003CCefStringTraitsUTF16_003E2);
                    *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E2) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
                    System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E2, 8)) = 0L;
                    System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, sbyte>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E2, 16)) = 0;
                    global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EFromWString(&cefStringBase_003CCefStringTraitsUTF16_003E2, str2);
                    try
                    {
                        scoped_refptr_003CFBroString_003E* indata = global::_003CModule_003E.FBroHsGetDataURI(&scoped_refptr_003CFBroString_003E, &cefStringBase_003CCefStringTraitsUTF16_003E2, &cefStringBase_003CCefStringTraitsUTF16_003E);
                        result = global::_003CModule_003E.FBroSharp_002EFBroStringToSString(indata);
                    }
                    catch
                    {
                        //try-fault
                        global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CefStringBase_003CCefStringTraitsUTF16_003E*, void>)(&global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002E_007Bdtor_007D), &cefStringBase_003CCefStringTraitsUTF16_003E2);
                        throw;
                    }

                    *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E2) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
                    global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EClearAndFree(&cefStringBase_003CCefStringTraitsUTF16_003E2);
                }
                catch
                {
                    //try-fault
                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E*, void>)(&global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_007Bdtor_007D), &obj2);
                    throw;
                }

                try
                {
                    global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_Tidy_deallocate(&obj2);
                }
                catch
                {
                    //try-fault
                    global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E*, void>)(&global::_003CModule_003E.std_002E_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E_002E_007Bdtor_007D), &obj2);
                    throw;
                }
            }
            catch
            {
                //try-fault
                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CefStringBase_003CCefStringTraitsUTF16_003E*, void>)(&global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002E_007Bdtor_007D), &cefStringBase_003CCefStringTraitsUTF16_003E);
                throw;
            }

            *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
            global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EClearAndFree(&cefStringBase_003CCefStringTraitsUTF16_003E);
        }
        catch
        {
            //try-fault
            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E*, void>)(&global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_007Bdtor_007D), &obj);
            throw;
        }

        try
        {
            global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_Tidy_deallocate(&obj);
            return result;
        }
        catch
        {
            //try-fault
            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E*, void>)(&global::_003CModule_003E.std_002E_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E_002E_007Bdtor_007D), &obj);
            throw;
        }
    }

    //
    // 摘要:
    //     URI编码
    public unsafe static string URIEncode(string data, [MarshalAs(UnmanagedType.U1)] bool use_plus)
    {
        uint num = 0u;
        System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CFBroString_003E scoped_refptr_003CFBroString_003E);
        scoped_refptr_003CFBroString_003E* ptr = &scoped_refptr_003CFBroString_003E;
        System.Runtime.CompilerServices.Unsafe.SkipInit(out basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E obj);
        basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E* str = global::_003CModule_003E.FBroSharp_002ESStringToCefString(&obj, data);
        string result;
        try
        {
            System.Runtime.CompilerServices.Unsafe.SkipInit(out CefStringBase_003CCefStringTraitsUTF16_003E cefStringBase_003CCefStringTraitsUTF16_003E);
            *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
            System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E, 8)) = 0L;
            System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, sbyte>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E, 16)) = 0;
            global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EFromWString(&cefStringBase_003CCefStringTraitsUTF16_003E, str);
            try
            {
                scoped_refptr_003CFBroString_003E* indata = global::_003CModule_003E.FBroHsURIEncode(&scoped_refptr_003CFBroString_003E, &cefStringBase_003CCefStringTraitsUTF16_003E, use_plus ? 1 : 0);
                result = global::_003CModule_003E.FBroSharp_002EFBroStringToSString(indata);
            }
            catch
            {
                //try-fault
                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CefStringBase_003CCefStringTraitsUTF16_003E*, void>)(&global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002E_007Bdtor_007D), &cefStringBase_003CCefStringTraitsUTF16_003E);
                throw;
            }

            *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
            global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EClearAndFree(&cefStringBase_003CCefStringTraitsUTF16_003E);
        }
        catch
        {
            //try-fault
            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E*, void>)(&global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_007Bdtor_007D), &obj);
            throw;
        }

        try
        {
            global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_Tidy_deallocate(&obj);
            return result;
        }
        catch
        {
            //try-fault
            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E*, void>)(&global::_003CModule_003E.std_002E_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E_002E_007Bdtor_007D), &obj);
            throw;
        }
    }

    //
    // 摘要:
    //     URI解码
    public unsafe static string URIDecode(string data, [MarshalAs(UnmanagedType.U1)] bool convert_to_utf8, int unescape_rule)
    {
        uint num = 0u;
        System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CFBroString_003E scoped_refptr_003CFBroString_003E);
        scoped_refptr_003CFBroString_003E* ptr = &scoped_refptr_003CFBroString_003E;
        System.Runtime.CompilerServices.Unsafe.SkipInit(out basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E obj);
        basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E* str = global::_003CModule_003E.FBroSharp_002ESStringToCefString(&obj, data);
        string result;
        try
        {
            System.Runtime.CompilerServices.Unsafe.SkipInit(out CefStringBase_003CCefStringTraitsUTF16_003E cefStringBase_003CCefStringTraitsUTF16_003E);
            *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
            System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E, 8)) = 0L;
            System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, sbyte>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E, 16)) = 0;
            global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EFromWString(&cefStringBase_003CCefStringTraitsUTF16_003E, str);
            try
            {
                scoped_refptr_003CFBroString_003E* indata = global::_003CModule_003E.FBroHsURIDecode(&scoped_refptr_003CFBroString_003E, &cefStringBase_003CCefStringTraitsUTF16_003E, convert_to_utf8 ? 1 : 0, unescape_rule);
                result = global::_003CModule_003E.FBroSharp_002EFBroStringToSString(indata);
            }
            catch
            {
                //try-fault
                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CefStringBase_003CCefStringTraitsUTF16_003E*, void>)(&global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002E_007Bdtor_007D), &cefStringBase_003CCefStringTraitsUTF16_003E);
                throw;
            }

            *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
            global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EClearAndFree(&cefStringBase_003CCefStringTraitsUTF16_003E);
        }
        catch
        {
            //try-fault
            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E*, void>)(&global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_007Bdtor_007D), &obj);
            throw;
        }

        try
        {
            global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_Tidy_deallocate(&obj);
            return result;
        }
        catch
        {
            //try-fault
            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E*, void>)(&global::_003CModule_003E.std_002E_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E_002E_007Bdtor_007D), &obj);
            throw;
        }
    }

    //
    // 摘要:
    //     解析JSON
    public unsafe static FBroSharpValue ParseJSON(string data, FBroSharpJSONParserType options)
    {
        //IL_00b7: Expected I, but got I8
        //IL_00e0: Expected I, but got I8
        uint num = 0u;
        System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefValue_003E scoped_refptr_003CCefValue_003E);
        *(long*)(&scoped_refptr_003CCefValue_003E) = 0L;
        System.Runtime.CompilerServices.Unsafe.SkipInit(out basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E obj);
        basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E* str = global::_003CModule_003E.FBroSharp_002ESStringToCefString(&obj, data);
        try
        {
            System.Runtime.CompilerServices.Unsafe.SkipInit(out CefStringBase_003CCefStringTraitsUTF16_003E cefStringBase_003CCefStringTraitsUTF16_003E);
            *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
            System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, long>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E, 8)) = 0L;
            System.Runtime.CompilerServices.Unsafe.As<CefStringBase_003CCefStringTraitsUTF16_003E, sbyte>(ref System.Runtime.CompilerServices.Unsafe.AddByteOffset(ref cefStringBase_003CCefStringTraitsUTF16_003E, 16)) = 0;
            global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EFromWString(&cefStringBase_003CCefStringTraitsUTF16_003E, str);
            try
            {
                global::_003CModule_003E.FBroHsParseJSON(&scoped_refptr_003CCefValue_003E, &cefStringBase_003CCefStringTraitsUTF16_003E, (int)options);
            }
            catch
            {
                //try-fault
                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<CefStringBase_003CCefStringTraitsUTF16_003E*, void>)(&global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002E_007Bdtor_007D), &cefStringBase_003CCefStringTraitsUTF16_003E);
                throw;
            }

            try
            {
                *(long*)(&cefStringBase_003CCefStringTraitsUTF16_003E) = (nint)System.Runtime.CompilerServices.Unsafe.AsPointer(ref global::_003CModule_003E._003F_003F_7_003F_0024CefStringBase_0040UCefStringTraitsUTF16_0040_0040_0040_00406B_0040);
                global::_003CModule_003E.CefStringBase_003CCefStringTraitsUTF16_003E_002EClearAndFree(&cefStringBase_003CCefStringTraitsUTF16_003E);
            }
            catch
            {
                //try-fault
                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefValue_003E);
                throw;
            }
        }
        catch
        {
            //try-fault
            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<basic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E*, void>)(&global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_007Bdtor_007D), &obj);
            throw;
        }

        FBroSharpValue result;
        try
        {
            try
            {
                global::_003CModule_003E.std_002Ebasic_string_003Cwchar_t_002Cstd_003A_003Achar_traits_003Cwchar_t_003E_002Cstd_003A_003Aallocator_003Cwchar_t_003E_0020_003E_002E_Tidy_deallocate(&obj);
            }
            catch
            {
                //try-fault
                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E*, void>)(&global::_003CModule_003E.std_002E_Compressed_pair_003Cstd_003A_003Aallocator_003Cwchar_t_003E_002Cstd_003A_003A_String_val_003Cstd_003A_003A_Simple_types_003Cwchar_t_003E_0020_003E_002C1_003E_002E_007Bdtor_007D), &obj);
                throw;
            }

            if ((byte)((*(long*)(&scoped_refptr_003CCefValue_003E) != 0) ? 1u : 0u) != 0)
            {
                System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefValue_003E scoped_refptr_003CCefValue_003E2);
                scoped_refptr_003CCefValue_003E* ptr = &scoped_refptr_003CCefValue_003E2;
                *(long*)(&scoped_refptr_003CCefValue_003E2) = *(long*)(&scoped_refptr_003CCefValue_003E);
                if (*(long*)(&scoped_refptr_003CCefValue_003E) != 0L)
                {
                    global::_003CModule_003E.scoped_refptr_003CCefValue_003E_002EAddRef((CefValue*)(*(ulong*)(&scoped_refptr_003CCefValue_003E)));
                }

                result = new FBroSharpValue(&scoped_refptr_003CCefValue_003E2);
            }
            else
            {
                result = null;
            }
        }
        catch
        {
            //try-fault
            global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefValue_003E);
            throw;
        }

        if (*(long*)(&scoped_refptr_003CCefValue_003E) != 0L)
        {
            global::_003CModule_003E.scoped_refptr_003CCefValue_003E_002ERelease((CefValue*)(*(ulong*)(&scoped_refptr_003CCefValue_003E)));
        }

        return result;
    }

    //
    // 摘要:
    //     写入JSON
    public unsafe static string WriteJSON(FBroSharpValue node, FBroSharpJSONParserType options)
    {
        if (node != null && !node.IsNULL())
        {
            System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CFBroString_003E scoped_refptr_003CFBroString_003E);
            scoped_refptr_003CFBroString_003E* ptr = &scoped_refptr_003CFBroString_003E;
            System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefValue_003E scoped_refptr_003CCefValue_003E);
            scoped_refptr_003CCefValue_003E* ptr2 = &scoped_refptr_003CCefValue_003E;
            scoped_refptr_003CCefValue_003E* @object = node.GetObject(&scoped_refptr_003CCefValue_003E);
            scoped_refptr_003CFBroString_003E* indata = global::_003CModule_003E.FBroHsWriteJSON(&scoped_refptr_003CFBroString_003E, @object, (int)options);
            return global::_003CModule_003E.FBroSharp_002EFBroStringToSString(indata);
        }

        return "";
    }

    //
    // 摘要:
    //     解析JSON
    public unsafe static FBroSharpValue ParseJSON_BinaryValue(FBroSharpBinaryValue binaryvalue, FBroSharpJSONParserType options)
    {
        //IL_0053: Expected I, but got I8
        //IL_0087: Expected I, but got I8
        //IL_0078: Expected I, but got I8
        System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefValue_003E scoped_refptr_003CCefValue_003E);
        FBroSharpValue result;
        if (binaryvalue != null && !binaryvalue.IsNULL())
        {
            *(long*)(&scoped_refptr_003CCefValue_003E) = 0L;
            System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefBinaryValue_003E scoped_refptr_003CCefBinaryValue_003E);
            scoped_refptr_003CCefBinaryValue_003E* ptr = &scoped_refptr_003CCefBinaryValue_003E;
            scoped_refptr_003CCefBinaryValue_003E* @object = binaryvalue.GetObject(&scoped_refptr_003CCefBinaryValue_003E);
            global::_003CModule_003E.FBroHsParseJSON_BinaryValue(&scoped_refptr_003CCefValue_003E, @object, (int)options);
            try
            {
                if ((byte)((*(long*)(&scoped_refptr_003CCefValue_003E) != 0) ? 1u : 0u) != 0)
                {
                    System.Runtime.CompilerServices.Unsafe.SkipInit(out scoped_refptr_003CCefValue_003E scoped_refptr_003CCefValue_003E2);
                    scoped_refptr_003CCefValue_003E* ptr2 = &scoped_refptr_003CCefValue_003E2;
                    *(long*)(&scoped_refptr_003CCefValue_003E2) = *(long*)(&scoped_refptr_003CCefValue_003E);
                    if (*(long*)(&scoped_refptr_003CCefValue_003E) != 0L)
                    {
                        global::_003CModule_003E.scoped_refptr_003CCefValue_003E_002EAddRef((CefValue*)(*(ulong*)(&scoped_refptr_003CCefValue_003E)));
                    }

                    result = new FBroSharpValue(&scoped_refptr_003CCefValue_003E2);
                    goto IL_006b;
                }
            }
            catch
            {
                //try-fault
                global::_003CModule_003E.___CxxCallUnwindDtor((delegate*<void*, void>)(delegate*<scoped_refptr_003CCefValue_003E*, void>)(&global::_003CModule_003E.scoped_refptr_003CCefValue_003E_002E_007Bdtor_007D), &scoped_refptr_003CCefValue_003E);
                throw;
            }

            if (*(long*)(&scoped_refptr_003CCefValue_003E) != 0L)
            {
                global::_003CModule_003E.scoped_refptr_003CCefValue_003E_002ERelease((CefValue*)(*(ulong*)(&scoped_refptr_003CCefValue_003E)));
            }
        }

        return null;
    IL_006b:
        if (*(long*)(&scoped_refptr_003CCefValue_003E) != 0L)
        {
            global::_003CModule_003E.scoped_refptr_003CCefValue_003E_002ERelease((CefValue*)(*(ulong*)(&scoped_refptr_003CCefValue_003E)));
        }

        return result;
    }
}
#if false // 反编译日志
缓存中的 14 项
------------------
解析: "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
找到单个程序集: "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
从以下位置加载: "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\mscorlib.dll"
------------------
解析: "FBroSharpInterface, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
找到单个程序集: "FBroSharpInterface, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
从以下位置加载: "T:\Csharp\FBro课件代码\packages\FBroSharp.Common.4.14.26\FBroSharp\x64\FBroSharpInterface.dll"
------------------
解析: "System.ComponentModel.Composition, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
无法按名称“System.ComponentModel.Composition, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”查找 
------------------
解析: "System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
找到单个程序集: "System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
从以下位置加载: "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\System.Core.dll"
------------------
解析: "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
找到单个程序集: "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
从以下位置加载: "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\System.dll"
#endif

如果文档对您有帮助,欢迎 请喝咖啡 ☕ | 软件发布 | 源码购买