You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/Interop/JavaScriptExports.cs
+7-4
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
// Licensed to the .NET Foundation under one or more agreements.
2
2
// The .NET Foundation licenses this file to you under the MIT license.
3
3
4
+
usingSystem.Collections.Generic;
5
+
usingSystem.Diagnostics;
4
6
usingSystem.Diagnostics.CodeAnalysis;
5
7
usingSystem.Reflection;
6
8
usingSystem.Runtime.CompilerServices;
@@ -28,6 +30,7 @@ public static void CallEntrypoint(JSMarshalerArgument* arguments_buffer)
28
30
#if FEATURE_WASM_MANAGED_THREADS
29
31
// when we arrive here, we are on the thread which owns the proxies
Copy file name to clipboardexpand all lines: src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/Interop/JavaScriptImports.Generated.cs
+1
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,7 @@ internal static unsafe partial class JavaScriptImports
Copy file name to clipboardexpand all lines: src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/JSFunctionBinding.cs
Copy file name to clipboardexpand all lines: src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/JSHostImplementation.cs
+1
Original file line number
Diff line number
Diff line change
@@ -153,6 +153,7 @@ public static unsafe JSFunctionBinding GetMethodSignature(ReadOnlySpan<JSMarshal
Copy file name to clipboardexpand all lines: src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/JSMarshalerArgument.cs
Copy file name to clipboardexpand all lines: src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/JSMarshalerType.cs
Copy file name to clipboardexpand all lines: src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/JSProxyContext.cs
+3-2
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,8 @@ private JSProxyContext()
36
36
#else
37
37
publicnintContextHandle;
38
38
publicnintJSNativeTID;// target thread where JavaScript is running
Copy file name to clipboardexpand all lines: src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/JSSynchronizationContext.cs
Copy file name to clipboardexpand all lines: src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/JSType.cs
+9
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,15 @@ public sealed class Discard : JSType
28
28
internalDiscard(){}
29
29
}
30
30
31
+
/// <summary>
32
+
/// Could return immediately without waiting for the execution to finish, when dispatching the call to another thread.
33
+
/// Suppresses marshaling of the JavaScript function's return value.
34
+
/// </summary>
35
+
publicsealedclassOneWay:JSType
36
+
{
37
+
internalOneWay(){}
38
+
}
39
+
31
40
/// <summary>
32
41
/// Marshal as JavaScript <see href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean">Boolean</see> type.
Copy file name to clipboardexpand all lines: src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/MarshalerType.cs
Copy file name to clipboardexpand all lines: src/libraries/System.Runtime.InteropServices.JavaScript/tests/System.Runtime.InteropServices.JavaScript.UnitTests/System/Runtime/InteropServices/JavaScript/JSExportTest.cs
Copy file name to clipboardexpand all lines: src/libraries/System.Runtime.InteropServices.JavaScript/tests/System.Runtime.InteropServices.JavaScript.UnitTests/System/Runtime/InteropServices/JavaScript/JSImportTest.cs
+9
Original file line number
Diff line number
Diff line change
@@ -527,6 +527,15 @@ public void JsImportInt16(short value)
0 commit comments