blob: 1b30a579e82618dc9ba2ceb2c89587b4c470bf48 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# Microsoft.JSInterop.Infrastructure
``` diff
namespace Microsoft.JSInterop.Infrastructure {
public static class DotNetDispatcher {
- public static void BeginInvokeDotNet(JSRuntime jsRuntime, DotNetInvocationInfo invocationInfo, string argsJson);
+ [UnconditionalSuppressMessageAttribute("Trimming", "IL2026", Justification="We expect application code is configured to ensure return types of JSInvokable methods are retained.")]
+ public static void BeginInvokeDotNet(JSRuntime jsRuntime, DotNetInvocationInfo invocationInfo, string argsJson);
- public static string? Invoke(JSRuntime jsRuntime, in DotNetInvocationInfo invocationInfo, string argsJson);
+ [UnconditionalSuppressMessageAttribute("Trimming", "IL2026", Justification="We expect application code is configured to ensure return types of JSInvokable methods are retained.")]
+ public static string? Invoke(JSRuntime jsRuntime, in DotNetInvocationInfo invocationInfo, string argsJson);
}
}
```
|