File: _generated\0\JSImports.g.cs
Web Access
Project: src\src\runtime\src\libraries\System.Net.WebSockets.Client\src\System.Net.WebSockets.Client.csproj (System.Net.WebSockets.Client)
// <auto-generated/>
namespace System.Net.WebSockets
{
    internal static unsafe partial class BrowserInterop
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial int WebSocketGetState(global::System.Runtime.InteropServices.JavaScript.JSObject webSocket)
        {
            if (__signature_WebSocketGetState_2008393274 == null)
            {
                __signature_WebSocketGetState_2008393274 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.wsGetState", null, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Int32, 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 __webSocket_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 __webSocket_native);
                // Marshal - Convert managed data to native data.
                __webSocket_native.ToJS(webSocket);
                {
                    __retVal_native = __InvokeJSFunction(____arg_exception_native, ____arg_return_native, __webSocket_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 __webSocket_native)
            {
                global::System.Span<global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument> __arguments_buffer = [____arg_exception_native, ____arg_return_native, __webSocket_native];
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_WebSocketGetState_2008393274, __arguments_buffer);
                return __arguments_buffer[1];
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_WebSocketGetState_2008393274;
    }
}
namespace System.Net.WebSockets
{
    internal static unsafe partial class BrowserInterop
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial global::System.Runtime.InteropServices.JavaScript.JSObject WebSocketCreate(string uri, string[] subProtocols, nint responseStatusPtr)
        {
            if (__signature_WebSocketCreate_2009160730 == null)
            {
                __signature_WebSocketCreate_2009160730 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.wsCreate", null, [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.String), 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 __uri_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __subProtocols_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __responseStatusPtr_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 __responseStatusPtr_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __subProtocols_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __uri_native);
                // Marshal - Convert managed data to native data.
                __responseStatusPtr_native.ToJS(responseStatusPtr);
                __subProtocols_native.ToJS(subProtocols);
                __uri_native.ToJS(uri);
                {
                    __retVal_native = __InvokeJSFunction(____arg_exception_native, ____arg_return_native, __uri_native, __subProtocols_native, __responseStatusPtr_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 __uri_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __subProtocols_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __responseStatusPtr_native)
            {
                global::System.Span<global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument> __arguments_buffer = [____arg_exception_native, ____arg_return_native, __uri_native, __subProtocols_native, __responseStatusPtr_native];
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_WebSocketCreate_2009160730, __arguments_buffer);
                return __arguments_buffer[1];
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_WebSocketCreate_2009160730;
    }
}
namespace System.Net.WebSockets
{
    internal static unsafe partial class BrowserInterop
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial global::System.Threading.Tasks.Task WebSocketOpen(global::System.Runtime.InteropServices.JavaScript.JSObject webSocket)
        {
            if (__signature_WebSocketOpen_19605218 == null)
            {
                __signature_WebSocketOpen_19605218 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.wsOpen", null, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Task(), 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 __webSocket_native;
                global::System.Threading.Tasks.Task __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 __webSocket_native);
                // Marshal - Convert managed data to native data.
                __webSocket_native.ToJS(webSocket);
                {
                    __retVal_native = __InvokeJSFunction(____arg_exception_native, ____arg_return_native, __webSocket_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 __webSocket_native)
            {
                global::System.Span<global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument> __arguments_buffer = [____arg_exception_native, ____arg_return_native, __webSocket_native];
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_WebSocketOpen_19605218, __arguments_buffer);
                return __arguments_buffer[1];
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_WebSocketOpen_19605218;
    }
}
namespace System.Net.WebSockets
{
    internal static unsafe partial class BrowserInterop
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial global::System.Threading.Tasks.Task WebSocketSend(global::System.Runtime.InteropServices.JavaScript.JSObject webSocket, nint bufferPtr, int bufferLength, int messageType, bool endOfMessage)
        {
            if (__signature_WebSocketSend_505915319 == null)
            {
                __signature_WebSocketSend_505915319 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.wsSend", null, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Task(), global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.JSObject, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.IntPtr, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Int32, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Int32, 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 __webSocket_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __bufferPtr_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __bufferLength_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __messageType_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __endOfMessage_native;
                global::System.Threading.Tasks.Task __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 __endOfMessage_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __messageType_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __bufferLength_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __bufferPtr_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __webSocket_native);
                // Marshal - Convert managed data to native data.
                __endOfMessage_native.ToJS(endOfMessage);
                __messageType_native.ToJS(messageType);
                __bufferLength_native.ToJS(bufferLength);
                __bufferPtr_native.ToJS(bufferPtr);
                __webSocket_native.ToJS(webSocket);
                {
                    __retVal_native = __InvokeJSFunction(____arg_exception_native, ____arg_return_native, __webSocket_native, __bufferPtr_native, __bufferLength_native, __messageType_native, __endOfMessage_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 __webSocket_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __bufferPtr_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __bufferLength_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __messageType_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __endOfMessage_native)
            {
                global::System.Span<global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument> __arguments_buffer = [____arg_exception_native, ____arg_return_native, __webSocket_native, __bufferPtr_native, __bufferLength_native, __messageType_native, __endOfMessage_native];
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_WebSocketSend_505915319, __arguments_buffer);
                return __arguments_buffer[1];
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_WebSocketSend_505915319;
    }
}
namespace System.Net.WebSockets
{
    internal static unsafe partial class BrowserInterop
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial global::System.Threading.Tasks.Task WebSocketReceive(global::System.Runtime.InteropServices.JavaScript.JSObject webSocket, nint bufferPtr, int bufferLength)
        {
            if (__signature_WebSocketReceive_1171878302 == null)
            {
                __signature_WebSocketReceive_1171878302 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.wsReceive", null, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Task(), global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.JSObject, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.IntPtr, 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 __webSocket_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __bufferPtr_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __bufferLength_native;
                global::System.Threading.Tasks.Task __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 __bufferLength_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __bufferPtr_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __webSocket_native);
                // Marshal - Convert managed data to native data.
                __bufferLength_native.ToJS(bufferLength);
                __bufferPtr_native.ToJS(bufferPtr);
                __webSocket_native.ToJS(webSocket);
                {
                    __retVal_native = __InvokeJSFunction(____arg_exception_native, ____arg_return_native, __webSocket_native, __bufferPtr_native, __bufferLength_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 __webSocket_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __bufferPtr_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __bufferLength_native)
            {
                global::System.Span<global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument> __arguments_buffer = [____arg_exception_native, ____arg_return_native, __webSocket_native, __bufferPtr_native, __bufferLength_native];
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_WebSocketReceive_1171878302, __arguments_buffer);
                return __arguments_buffer[1];
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_WebSocketReceive_1171878302;
    }
}
namespace System.Net.WebSockets
{
    internal static unsafe partial class BrowserInterop
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial global::System.Threading.Tasks.Task WebSocketClose(global::System.Runtime.InteropServices.JavaScript.JSObject webSocket, int code, string reason, bool waitForCloseReceived)
        {
            if (__signature_WebSocketClose_1556996162 == null)
            {
                __signature_WebSocketClose_1556996162 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.wsClose", null, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Task(), global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.JSObject, global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Int32, 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 __webSocket_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __code_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __reason_native;
                global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __waitForCloseReceived_native;
                global::System.Threading.Tasks.Task __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 __waitForCloseReceived_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __reason_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __code_native);
                global::System.Runtime.CompilerServices.Unsafe.SkipInit(out __webSocket_native);
                // Marshal - Convert managed data to native data.
                __waitForCloseReceived_native.ToJS(waitForCloseReceived);
                __reason_native.ToJS(reason);
                __code_native.ToJS(code);
                __webSocket_native.ToJS(webSocket);
                {
                    __retVal_native = __InvokeJSFunction(____arg_exception_native, ____arg_return_native, __webSocket_native, __code_native, __reason_native, __waitForCloseReceived_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 __webSocket_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __code_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __reason_native, global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument __waitForCloseReceived_native)
            {
                global::System.Span<global::System.Runtime.InteropServices.JavaScript.JSMarshalerArgument> __arguments_buffer = [____arg_exception_native, ____arg_return_native, __webSocket_native, __code_native, __reason_native, __waitForCloseReceived_native];
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_WebSocketClose_1556996162, __arguments_buffer);
                return __arguments_buffer[1];
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_WebSocketClose_1556996162;
    }
}
namespace System.Net.WebSockets
{
    internal static unsafe partial class BrowserInterop
    {
        [global::System.Diagnostics.DebuggerNonUserCode]
        public static partial void WebSocketAbort(global::System.Runtime.InteropServices.JavaScript.JSObject webSocket)
        {
            if (__signature_WebSocketAbort_2131037353 == null)
            {
                __signature_WebSocketAbort_2131037353 = global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.BindJSFunction("INTERNAL.wsAbort", null, [global::System.Runtime.InteropServices.JavaScript.JSMarshalerType.Discard, 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 __webSocket_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 __webSocket_native);
                // Marshal - Convert managed data to native data.
                __webSocket_native.ToJS(webSocket);
                {
                    __InvokeJSFunction(____arg_exception_native, ____arg_return_native, __webSocket_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 __webSocket_native)
            {
                global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding.InvokeJS(__signature_WebSocketAbort_2131037353, [____arg_exception_native, ____arg_return_native, __webSocket_native]);
            }
        }
 
        static global::System.Runtime.InteropServices.JavaScript.JSFunctionBinding __signature_WebSocketAbort_2131037353;
    }
}