File: _generated\0\JSImports.g.cs
Web Access
Project: src\src\runtime\src\libraries\System.Runtime.InteropServices.JavaScript\src\System.Runtime.InteropServices.JavaScript.csproj (System.Runtime.InteropServices.JavaScript)
// <auto-generated/>
namespace System.Runtime.InteropServices.JavaScript
{
    internal static unsafe partial class JavaScriptImports
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial bool HasProperty(global::System.Runtime.InteropServices.JavaScript.JSObject self, string propertyName)
        {
            if (__signature_HasProperty_393970128 == null)
            {
                __signature_HasProperty_393970128 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.hasProperty", null, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Boolean, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.JSObject, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String]);
            }
 
            {
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native;
                bool __retVal;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __retVal_native;
                // Setup - Perform required setup.
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_return_native);
                ____arg_return_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_exception_native);
                ____arg_exception_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __propertyName_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __self_native);
                // Marshal - Convert managed data to native data.
                __propertyName_native.ToJS(propertyName);
                __self_native.ToJS(self);
                {
                    __retVal_native = __InvokeJSFunction(____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native);
                }
 
                // UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
                __retVal_native.ToManaged(out __retVal);
                return __retVal;
            }
 
            [global::System.Diagnostics.DebuggerNonUserCode]
            global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __InvokeJSFunction(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native)
            {
                global::System.Span<global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument> __arguments_buffer = [____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native];
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_HasProperty_393970128, __arguments_buffer);
                return __arguments_buffer[1];
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_HasProperty_393970128;
    }
}
namespace System.Runtime.InteropServices.JavaScript
{
    internal static unsafe partial class JavaScriptImports
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial string GetTypeOfProperty(global::System.Runtime.InteropServices.JavaScript.JSObject self, string propertyName)
        {
            if (__signature_GetTypeOfProperty_1139574135 == null)
            {
                __signature_GetTypeOfProperty_1139574135 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.getTypeOfProperty", null, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.JSObject, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String]);
            }
 
            {
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native;
                string __retVal;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __retVal_native;
                // Setup - Perform required setup.
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_return_native);
                ____arg_return_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_exception_native);
                ____arg_exception_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __propertyName_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __self_native);
                // Marshal - Convert managed data to native data.
                __propertyName_native.ToJS(propertyName);
                __self_native.ToJS(self);
                {
                    __retVal_native = __InvokeJSFunction(____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native);
                }
 
                // UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
                __retVal_native.ToManaged(out __retVal);
                return __retVal;
            }
 
            [global::System.Diagnostics.DebuggerNonUserCode]
            global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __InvokeJSFunction(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native)
            {
                global::System.Span<global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument> __arguments_buffer = [____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native];
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_GetTypeOfProperty_1139574135, __arguments_buffer);
                return __arguments_buffer[1];
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_GetTypeOfProperty_1139574135;
    }
}
namespace System.Runtime.InteropServices.JavaScript
{
    internal static unsafe partial class JavaScriptImports
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial bool GetPropertyAsBoolean(global::System.Runtime.InteropServices.JavaScript.JSObject self, string propertyName)
        {
            if (__signature_GetPropertyAsBoolean_393970128 == null)
            {
                __signature_GetPropertyAsBoolean_393970128 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.getProperty", null, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Boolean, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.JSObject, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String]);
            }
 
            {
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native;
                bool __retVal;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __retVal_native;
                // Setup - Perform required setup.
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_return_native);
                ____arg_return_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_exception_native);
                ____arg_exception_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __propertyName_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __self_native);
                // Marshal - Convert managed data to native data.
                __propertyName_native.ToJS(propertyName);
                __self_native.ToJS(self);
                {
                    __retVal_native = __InvokeJSFunction(____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native);
                }
 
                // UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
                __retVal_native.ToManaged(out __retVal);
                return __retVal;
            }
 
            [global::System.Diagnostics.DebuggerNonUserCode]
            global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __InvokeJSFunction(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native)
            {
                global::System.Span<global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument> __arguments_buffer = [____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native];
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_GetPropertyAsBoolean_393970128, __arguments_buffer);
                return __arguments_buffer[1];
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_GetPropertyAsBoolean_393970128;
    }
}
namespace System.Runtime.InteropServices.JavaScript
{
    internal static unsafe partial class JavaScriptImports
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial int GetPropertyAsInt32(global::System.Runtime.InteropServices.JavaScript.JSObject self, string propertyName)
        {
            if (__signature_GetPropertyAsInt32_1813830729 == null)
            {
                __signature_GetPropertyAsInt32_1813830729 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.getProperty", null, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Int32, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.JSObject, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String]);
            }
 
            {
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native;
                int __retVal;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __retVal_native;
                // Setup - Perform required setup.
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_return_native);
                ____arg_return_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_exception_native);
                ____arg_exception_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __propertyName_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __self_native);
                // Marshal - Convert managed data to native data.
                __propertyName_native.ToJS(propertyName);
                __self_native.ToJS(self);
                {
                    __retVal_native = __InvokeJSFunction(____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native);
                }
 
                // UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
                __retVal_native.ToManaged(out __retVal);
                return __retVal;
            }
 
            [global::System.Diagnostics.DebuggerNonUserCode]
            global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __InvokeJSFunction(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native)
            {
                global::System.Span<global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument> __arguments_buffer = [____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native];
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_GetPropertyAsInt32_1813830729, __arguments_buffer);
                return __arguments_buffer[1];
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_GetPropertyAsInt32_1813830729;
    }
}
namespace System.Runtime.InteropServices.JavaScript
{
    internal static unsafe partial class JavaScriptImports
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial double GetPropertyAsDouble(global::System.Runtime.InteropServices.JavaScript.JSObject self, string propertyName)
        {
            if (__signature_GetPropertyAsDouble_705601847 == null)
            {
                __signature_GetPropertyAsDouble_705601847 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.getProperty", null, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Double, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.JSObject, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String]);
            }
 
            {
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native;
                double __retVal;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __retVal_native;
                // Setup - Perform required setup.
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_return_native);
                ____arg_return_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_exception_native);
                ____arg_exception_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __propertyName_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __self_native);
                // Marshal - Convert managed data to native data.
                __propertyName_native.ToJS(propertyName);
                __self_native.ToJS(self);
                {
                    __retVal_native = __InvokeJSFunction(____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native);
                }
 
                // UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
                __retVal_native.ToManaged(out __retVal);
                return __retVal;
            }
 
            [global::System.Diagnostics.DebuggerNonUserCode]
            global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __InvokeJSFunction(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native)
            {
                global::System.Span<global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument> __arguments_buffer = [____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native];
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_GetPropertyAsDouble_705601847, __arguments_buffer);
                return __arguments_buffer[1];
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_GetPropertyAsDouble_705601847;
    }
}
namespace System.Runtime.InteropServices.JavaScript
{
    internal static unsafe partial class JavaScriptImports
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial string GetPropertyAsString(global::System.Runtime.InteropServices.JavaScript.JSObject self, string propertyName)
        {
            if (__signature_GetPropertyAsString_1139574135 == null)
            {
                __signature_GetPropertyAsString_1139574135 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.getProperty", null, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.JSObject, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String]);
            }
 
            {
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native;
                string __retVal;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __retVal_native;
                // Setup - Perform required setup.
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_return_native);
                ____arg_return_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_exception_native);
                ____arg_exception_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __propertyName_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __self_native);
                // Marshal - Convert managed data to native data.
                __propertyName_native.ToJS(propertyName);
                __self_native.ToJS(self);
                {
                    __retVal_native = __InvokeJSFunction(____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native);
                }
 
                // UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
                __retVal_native.ToManaged(out __retVal);
                return __retVal;
            }
 
            [global::System.Diagnostics.DebuggerNonUserCode]
            global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __InvokeJSFunction(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native)
            {
                global::System.Span<global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument> __arguments_buffer = [____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native];
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_GetPropertyAsString_1139574135, __arguments_buffer);
                return __arguments_buffer[1];
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_GetPropertyAsString_1139574135;
    }
}
namespace System.Runtime.InteropServices.JavaScript
{
    internal static unsafe partial class JavaScriptImports
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial global::System.Runtime.InteropServices.JavaScript.JSObject GetPropertyAsJSObject(global::System.Runtime.InteropServices.JavaScript.JSObject self, string propertyName)
        {
            if (__signature_GetPropertyAsJSObject_1480020778 == null)
            {
                __signature_GetPropertyAsJSObject_1480020778 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.getProperty", null, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.JSObject, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.JSObject, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String]);
            }
 
            {
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native;
                global::System.Runtime.InteropServices.JavaScript.JSObject __retVal;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __retVal_native;
                // Setup - Perform required setup.
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_return_native);
                ____arg_return_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_exception_native);
                ____arg_exception_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __propertyName_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __self_native);
                // Marshal - Convert managed data to native data.
                __propertyName_native.ToJS(propertyName);
                __self_native.ToJS(self);
                {
                    __retVal_native = __InvokeJSFunction(____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native);
                }
 
                // UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
                __retVal_native.ToManaged(out __retVal);
                return __retVal;
            }
 
            [global::System.Diagnostics.DebuggerNonUserCode]
            global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __InvokeJSFunction(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native)
            {
                global::System.Span<global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument> __arguments_buffer = [____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native];
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_GetPropertyAsJSObject_1480020778, __arguments_buffer);
                return __arguments_buffer[1];
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_GetPropertyAsJSObject_1480020778;
    }
}
namespace System.Runtime.InteropServices.JavaScript
{
    internal static unsafe partial class JavaScriptImports
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial byte[] GetPropertyAsByteArray(global::System.Runtime.InteropServices.JavaScript.JSObject self, string propertyName)
        {
            if (__signature_GetPropertyAsByteArray_657551312 == null)
            {
                __signature_GetPropertyAsByteArray_657551312 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.getProperty", null, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Array(global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Byte), global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.JSObject, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String]);
            }
 
            {
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native;
                byte[] __retVal;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __retVal_native;
                // Setup - Perform required setup.
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_return_native);
                ____arg_return_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_exception_native);
                ____arg_exception_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __propertyName_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __self_native);
                // Marshal - Convert managed data to native data.
                __propertyName_native.ToJS(propertyName);
                __self_native.ToJS(self);
                {
                    __retVal_native = __InvokeJSFunction(____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native);
                }
 
                // UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
                __retVal_native.ToManaged(out __retVal);
                return __retVal;
            }
 
            [global::System.Diagnostics.DebuggerNonUserCode]
            global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __InvokeJSFunction(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native)
            {
                global::System.Span<global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument> __arguments_buffer = [____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native];
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_GetPropertyAsByteArray_657551312, __arguments_buffer);
                return __arguments_buffer[1];
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_GetPropertyAsByteArray_657551312;
    }
}
namespace System.Runtime.InteropServices.JavaScript
{
    internal static unsafe partial class JavaScriptImports
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial void SetPropertyBool(global::System.Runtime.InteropServices.JavaScript.JSObject self, string propertyName, bool value)
        {
            if (__signature_SetPropertyBool_125660004 == null)
            {
                __signature_SetPropertyBool_125660004 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.setProperty", null, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Discard, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.JSObject, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Boolean]);
            }
 
            {
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __value_native;
                // Setup - Perform required setup.
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_return_native);
                ____arg_return_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_exception_native);
                ____arg_exception_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __value_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __propertyName_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __self_native);
                // Marshal - Convert managed data to native data.
                __value_native.ToJS(value);
                __propertyName_native.ToJS(propertyName);
                __self_native.ToJS(self);
                {
                    __InvokeJSFunction(____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native, __value_native);
                }
            }
 
            [global::System.Diagnostics.DebuggerNonUserCode]
            void __InvokeJSFunction(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __value_native)
            {
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_SetPropertyBool_125660004, [____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native, __value_native]);
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_SetPropertyBool_125660004;
    }
}
namespace System.Runtime.InteropServices.JavaScript
{
    internal static unsafe partial class JavaScriptImports
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial void SetPropertyInt(global::System.Runtime.InteropServices.JavaScript.JSObject self, string propertyName, int value)
        {
            if (__signature_SetPropertyInt_512418141 == null)
            {
                __signature_SetPropertyInt_512418141 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.setProperty", null, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Discard, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.JSObject, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Int32]);
            }
 
            {
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __value_native;
                // Setup - Perform required setup.
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_return_native);
                ____arg_return_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_exception_native);
                ____arg_exception_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __value_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __propertyName_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __self_native);
                // Marshal - Convert managed data to native data.
                __value_native.ToJS(value);
                __propertyName_native.ToJS(propertyName);
                __self_native.ToJS(self);
                {
                    __InvokeJSFunction(____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native, __value_native);
                }
            }
 
            [global::System.Diagnostics.DebuggerNonUserCode]
            void __InvokeJSFunction(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __value_native)
            {
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_SetPropertyInt_512418141, [____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native, __value_native]);
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_SetPropertyInt_512418141;
    }
}
namespace System.Runtime.InteropServices.JavaScript
{
    internal static unsafe partial class JavaScriptImports
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial void SetPropertyDouble(global::System.Runtime.InteropServices.JavaScript.JSObject self, string propertyName, double value)
        {
            if (__signature_SetPropertyDouble_1393852235 == null)
            {
                __signature_SetPropertyDouble_1393852235 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.setProperty", null, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Discard, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.JSObject, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Double]);
            }
 
            {
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __value_native;
                // Setup - Perform required setup.
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_return_native);
                ____arg_return_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_exception_native);
                ____arg_exception_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __value_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __propertyName_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __self_native);
                // Marshal - Convert managed data to native data.
                __value_native.ToJS(value);
                __propertyName_native.ToJS(propertyName);
                __self_native.ToJS(self);
                {
                    __InvokeJSFunction(____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native, __value_native);
                }
            }
 
            [global::System.Diagnostics.DebuggerNonUserCode]
            void __InvokeJSFunction(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __value_native)
            {
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_SetPropertyDouble_1393852235, [____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native, __value_native]);
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_SetPropertyDouble_1393852235;
    }
}
namespace System.Runtime.InteropServices.JavaScript
{
    internal static unsafe partial class JavaScriptImports
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial void SetPropertyString(global::System.Runtime.InteropServices.JavaScript.JSObject self, string propertyName, string value)
        {
            if (__signature_SetPropertyString_1189495691 == null)
            {
                __signature_SetPropertyString_1189495691 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.setProperty", null, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Discard, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.JSObject, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String]);
            }
 
            {
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __value_native;
                // Setup - Perform required setup.
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_return_native);
                ____arg_return_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_exception_native);
                ____arg_exception_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __value_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __propertyName_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __self_native);
                // Marshal - Convert managed data to native data.
                __value_native.ToJS(value);
                __propertyName_native.ToJS(propertyName);
                __self_native.ToJS(self);
                {
                    __InvokeJSFunction(____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native, __value_native);
                }
            }
 
            [global::System.Diagnostics.DebuggerNonUserCode]
            void __InvokeJSFunction(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __value_native)
            {
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_SetPropertyString_1189495691, [____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native, __value_native]);
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_SetPropertyString_1189495691;
    }
}
namespace System.Runtime.InteropServices.JavaScript
{
    internal static unsafe partial class JavaScriptImports
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial void SetPropertyJSObject(global::System.Runtime.InteropServices.JavaScript.JSObject self, string propertyName, global::System.Runtime.InteropServices.JavaScript.JSObject value)
        {
            if (__signature_SetPropertyJSObject_2027749310 == null)
            {
                __signature_SetPropertyJSObject_2027749310 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.setProperty", null, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Discard, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.JSObject, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.JSObject]);
            }
 
            {
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __value_native;
                // Setup - Perform required setup.
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_return_native);
                ____arg_return_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_exception_native);
                ____arg_exception_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __value_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __propertyName_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __self_native);
                // Marshal - Convert managed data to native data.
                __value_native.ToJS(value);
                __propertyName_native.ToJS(propertyName);
                __self_native.ToJS(self);
                {
                    __InvokeJSFunction(____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native, __value_native);
                }
            }
 
            [global::System.Diagnostics.DebuggerNonUserCode]
            void __InvokeJSFunction(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __value_native)
            {
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_SetPropertyJSObject_2027749310, [____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native, __value_native]);
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_SetPropertyJSObject_2027749310;
    }
}
namespace System.Runtime.InteropServices.JavaScript
{
    internal static unsafe partial class JavaScriptImports
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial void SetPropertyBytes(global::System.Runtime.InteropServices.JavaScript.JSObject self, string propertyName, byte[] value)
        {
            if (__signature_SetPropertyBytes_1317820772 == null)
            {
                __signature_SetPropertyBytes_1317820772 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.setProperty", null, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Discard, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.JSObject, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Array(global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Byte)]);
            }
 
            {
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __value_native;
                // Setup - Perform required setup.
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_return_native);
                ____arg_return_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_exception_native);
                ____arg_exception_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __value_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __propertyName_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __self_native);
                // Marshal - Convert managed data to native data.
                __value_native.ToJS(value);
                __propertyName_native.ToJS(propertyName);
                __self_native.ToJS(self);
                {
                    __InvokeJSFunction(____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native, __value_native);
                }
            }
 
            [global::System.Diagnostics.DebuggerNonUserCode]
            void __InvokeJSFunction(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __self_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __propertyName_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __value_native)
            {
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_SetPropertyBytes_1317820772, [____arg_exception_native, ____arg_return_native, __self_native, __propertyName_native, __value_native]);
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_SetPropertyBytes_1317820772;
    }
}
namespace System.Runtime.InteropServices.JavaScript
{
    internal static unsafe partial class JavaScriptImports
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial global::System.Runtime.InteropServices.JavaScript.JSObject GetGlobalThis()
        {
            if (__signature_GetGlobalThis_1202228629 == null)
            {
                __signature_GetGlobalThis_1202228629 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.getGlobalThis", null, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.JSObject]);
            }
 
            {
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native;
                global::System.Runtime.InteropServices.JavaScript.JSObject __retVal;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __retVal_native;
                // Setup - Perform required setup.
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_return_native);
                ____arg_return_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_exception_native);
                ____arg_exception_native.Initialize();
                {
                    __retVal_native = __InvokeJSFunction(____arg_exception_native, ____arg_return_native);
                }
 
                // UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
                __retVal_native.ToManaged(out __retVal);
                return __retVal;
            }
 
            [global::System.Diagnostics.DebuggerNonUserCode]
            global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __InvokeJSFunction(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native)
            {
                global::System.Span<global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument> __arguments_buffer = [____arg_exception_native, ____arg_return_native];
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_GetGlobalThis_1202228629, __arguments_buffer);
                return __arguments_buffer[1];
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_GetGlobalThis_1202228629;
    }
}
namespace System.Runtime.InteropServices.JavaScript
{
    internal static unsafe partial class JavaScriptImports
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial global::System.Runtime.InteropServices.JavaScript.JSObject GetDotnetInstance()
        {
            if (__signature_GetDotnetInstance_1202228629 == null)
            {
                __signature_GetDotnetInstance_1202228629 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.getDotnetInstance", null, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.JSObject]);
            }
 
            {
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native;
                global::System.Runtime.InteropServices.JavaScript.JSObject __retVal;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __retVal_native;
                // Setup - Perform required setup.
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_return_native);
                ____arg_return_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_exception_native);
                ____arg_exception_native.Initialize();
                {
                    __retVal_native = __InvokeJSFunction(____arg_exception_native, ____arg_return_native);
                }
 
                // UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
                __retVal_native.ToManaged(out __retVal);
                return __retVal;
            }
 
            [global::System.Diagnostics.DebuggerNonUserCode]
            global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __InvokeJSFunction(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native)
            {
                global::System.Span<global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument> __arguments_buffer = [____arg_exception_native, ____arg_return_native];
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_GetDotnetInstance_1202228629, __arguments_buffer);
                return __arguments_buffer[1];
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_GetDotnetInstance_1202228629;
    }
}
namespace System.Runtime.InteropServices.JavaScript
{
    internal static unsafe partial class JavaScriptImports
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial global::System.Threading.Tasks.Task<global::System.Runtime.InteropServices.JavaScript.JSObject> DynamicImport(string moduleName, string moduleUrl)
        {
            if (__signature_DynamicImport_119536130 == null)
            {
                __signature_DynamicImport_119536130 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.dynamicImport", null, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Task(global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.JSObject), global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String]);
            }
 
            {
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __moduleName_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __moduleUrl_native;
                global::System.Threading.Tasks.Task<global::System.Runtime.InteropServices.JavaScript.JSObject> __retVal;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __retVal_native;
                // Setup - Perform required setup.
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_return_native);
                ____arg_return_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_exception_native);
                ____arg_exception_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __moduleUrl_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __moduleName_native);
                // Marshal - Convert managed data to native data.
                __moduleUrl_native.ToJS(moduleUrl);
                __moduleName_native.ToJS(moduleName);
                {
                    __retVal_native = __InvokeJSFunction(____arg_exception_native, ____arg_return_native, __moduleName_native, __moduleUrl_native);
                }
 
                // UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception.
                __retVal_native.ToManaged(out __retVal, static (ref global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __task_result_arg, out global::System.Runtime.InteropServices.JavaScript.JSObject __task_result) =>
                {
                    __task_result_arg.ToManaged(out __task_result);
                });
                return __retVal;
            }
 
            [global::System.Diagnostics.DebuggerNonUserCode]
            global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __InvokeJSFunction(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __moduleName_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __moduleUrl_native)
            {
                global::System.Span<global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument> __arguments_buffer = [____arg_exception_native, ____arg_return_native, __moduleName_native, __moduleUrl_native];
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_DynamicImport_119536130, __arguments_buffer);
                return __arguments_buffer[1];
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_DynamicImport_119536130;
    }
}
namespace System.Runtime.InteropServices.JavaScript
{
    internal static unsafe partial class JavaScriptImports
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial void BindCSFunction(nint methodHandle, string assemblyName, string namespaceName, string shortClassName, string methodName, int signatureHash, nint signature)
        {
            if (__signature_BindCSFunction_1080107758 == null)
            {
                __signature_BindCSFunction_1080107758 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.bindCsFunction", null, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Discard, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.IntPtr, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.String, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Int32, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.IntPtr]);
            }
 
            {
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __methodHandle_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __assemblyName_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __namespaceName_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __shortClassName_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __methodName_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __signatureHash_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __signature_native;
                // Setup - Perform required setup.
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_return_native);
                ____arg_return_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out ____arg_exception_native);
                ____arg_exception_native.Initialize();
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __signature_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __signatureHash_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __methodName_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __shortClassName_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __namespaceName_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __assemblyName_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __methodHandle_native);
                // Marshal - Convert managed data to native data.
                __signature_native.ToJS(signature);
                __signatureHash_native.ToJS(signatureHash);
                __methodName_native.ToJS(methodName);
                __shortClassName_native.ToJS(shortClassName);
                __namespaceName_native.ToJS(namespaceName);
                __assemblyName_native.ToJS(assemblyName);
                __methodHandle_native.ToJS(methodHandle);
                {
                    __InvokeJSFunction(____arg_exception_native, ____arg_return_native, __methodHandle_native, __assemblyName_native, __namespaceName_native, __shortClassName_native, __methodName_native, __signatureHash_native, __signature_native);
                }
            }
 
            [global::System.Diagnostics.DebuggerNonUserCode]
            void __InvokeJSFunction(global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_exception_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument ____arg_return_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __methodHandle_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __assemblyName_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __namespaceName_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __shortClassName_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __methodName_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __signatureHash_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __signature_native)
            {
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_BindCSFunction_1080107758, [____arg_exception_native, ____arg_return_native, __methodHandle_native, __assemblyName_native, __namespaceName_native, __shortClassName_native, __methodName_native, __signatureHash_native, __signature_native]);
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_BindCSFunction_1080107758;
    }
}