File: Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JSExports.g.cs
Project: Microsoft.DotNet.HotReload.WebAssembly.Browser.csproj (Microsoft.DotNet.HotReload.WebAssembly.Browser)
// <auto-generated/>
namespace System.Runtime.InteropServices.JavaScript
{
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute]
    class __GeneratedInitializer
    {
        [global::System.ThreadStaticAttribute]
        static bool initialized;
        [global::System.Runtime.CompilerServices.ModuleInitializerAttribute, global::System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute(global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods | global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods, "System.Runtime.InteropServices.JavaScript.__GeneratedInitializer", "Microsoft.DotNet.HotReload.WebAssembly.Browser")]
        static internal void __TrimmingPreserve_()
        {
        }
 
        [global::System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute("__Wrapper_InitializeAsync_1997859317", "Microsoft.DotNet.HotReload.WebAssembly.Browser.WebAssemblyHotReload", "Microsoft.DotNet.HotReload.WebAssembly.Browser")]
        [global::System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute("__Wrapper_GetApplyUpdateCapabilities_1310674786", "Microsoft.DotNet.HotReload.WebAssembly.Browser.WebAssemblyHotReload", "Microsoft.DotNet.HotReload.WebAssembly.Browser")]
        [global::System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute("__Wrapper_ApplyHotReloadDeltas_146925470", "Microsoft.DotNet.HotReload.WebAssembly.Browser.WebAssemblyHotReload", "Microsoft.DotNet.HotReload.WebAssembly.Browser")]
        static void __Register_()
        {
            if (initialized || global::System.Runtime.InteropServices.RuntimeInformation.OSArchitecture != global::System.Runtime.InteropServices.Architecture.Wasm)
                return;
            initialized = true;
            global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindManagedFunction("[Microsoft.DotNet.HotReload.WebAssembly.Browser]Microsoft.DotNet.HotReload.WebAssembly.Browser.WebAssemblyHotReload:InitializeAsync", 1997859317, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Task(), global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String]);
            global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindManagedFunction("[Microsoft.DotNet.HotReload.WebAssembly.Browser]Microsoft.DotNet.HotReload.WebAssembly.Browser.WebAssemblyHotReload:GetApplyUpdateCapabilities", 1310674786, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String]);
            global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindManagedFunction("[Microsoft.DotNet.HotReload.WebAssembly.Browser]Microsoft.DotNet.HotReload.WebAssembly.Browser.WebAssemblyHotReload:ApplyHotReloadDeltas", 146925470, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Int32]);
        }
    }
}
namespace Microsoft.DotNet.HotReload.WebAssembly.Browser
{
    internal static partial class WebAssemblyHotReload
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        internal static unsafe void __Wrapper_InitializeAsync_1997859317(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument* __arguments_buffer)
        {
            unsafe
            {
                __Stub(__arguments_buffer[2], __arguments_buffer, __arguments_buffer + 1);
                [global::System.Diagnostics.DebuggerNonUserCode]
                void __Stub(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __baseUri_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument* ____arg_exception_native__param, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument* __invokeRetValUnmanaged__param)
                {
                    string baseUri = default;
                    ref global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native = ref *____arg_exception_native__param;
                    ref global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __invokeRetValUnmanaged = ref *__invokeRetValUnmanaged__param;
                    global::System.Threading.Tasks.Task __invokeRetVal = default;
                    try
                    {
                        // UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
                        __baseUri_native.ToManaged(out baseUri);
                        __invokeRetVal = global::Microsoft.DotNet.HotReload.WebAssembly.Browser.WebAssemblyHotReload.InitializeAsync(baseUri);
                        // Marshal - Convert managed data to native data.
                        __invokeRetValUnmanaged.ToJS(__invokeRetVal);
                    }
                    catch (global::System.Exception __arg_exception)
                    {
                        ____arg_exception_native.ToJS(__arg_exception);
                    }
                }
            }
        }
    }
}
namespace Microsoft.DotNet.HotReload.WebAssembly.Browser
{
    internal static partial class WebAssemblyHotReload
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        internal static unsafe void __Wrapper_GetApplyUpdateCapabilities_1310674786(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument* __arguments_buffer)
        {
            unsafe
            {
                __Stub(__arguments_buffer, __arguments_buffer + 1);
                [global::System.Diagnostics.DebuggerNonUserCode]
                void __Stub(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument* ____arg_exception_native__param, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument* __invokeRetValUnmanaged__param)
                {
                    ref global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native = ref *____arg_exception_native__param;
                    ref global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __invokeRetValUnmanaged = ref *__invokeRetValUnmanaged__param;
                    string __invokeRetVal = default;
                    try
                    {
                        __invokeRetVal = global::Microsoft.DotNet.HotReload.WebAssembly.Browser.WebAssemblyHotReload.GetApplyUpdateCapabilities();
                        // Marshal - Convert managed data to native data.
                        __invokeRetValUnmanaged.ToJS(__invokeRetVal);
                    }
                    catch (global::System.Exception __arg_exception)
                    {
                        ____arg_exception_native.ToJS(__arg_exception);
                    }
                }
            }
        }
    }
}
namespace Microsoft.DotNet.HotReload.WebAssembly.Browser
{
    internal static partial class WebAssemblyHotReload
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        internal static unsafe void __Wrapper_ApplyHotReloadDeltas_146925470(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument* __arguments_buffer)
        {
            unsafe
            {
                __Stub(__arguments_buffer[2], __arguments_buffer[3], __arguments_buffer, __arguments_buffer + 1);
                [global::System.Diagnostics.DebuggerNonUserCode]
                void __Stub(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __deltasJson_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __loggingLevel_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument* ____arg_exception_native__param, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument* __invokeRetValUnmanaged__param)
                {
                    string deltasJson = default;
                    int loggingLevel = default;
                    ref global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native = ref *____arg_exception_native__param;
                    ref global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __invokeRetValUnmanaged = ref *__invokeRetValUnmanaged__param;
                    string __invokeRetVal = default;
                    try
                    {
                        // UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
                        __loggingLevel_native.ToManaged(out loggingLevel);
                        __deltasJson_native.ToManaged(out deltasJson);
                        __invokeRetVal = global::Microsoft.DotNet.HotReload.WebAssembly.Browser.WebAssemblyHotReload.ApplyHotReloadDeltas(deltasJson, loggingLevel);
                        // Marshal - Convert managed data to native data.
                        __invokeRetValUnmanaged.ToJS(__invokeRetVal);
                    }
                    catch (global::System.Exception __arg_exception)
                    {
                        ____arg_exception_native.ToJS(__arg_exception);
                    }
                }
            }
        }
    }
}