-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Blazor] Use DynamicDependency to preserve KeyValuePair for WebAssembly trimming #63099
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 6 commits
56cfccb
e41281a
fc94643
5a2f695
f7f1da9
ba95337
4c78ccd
2cf9e04
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,7 @@ internal sealed partial class DefaultWebAssemblyJSRuntime : WebAssemblyJSRuntime | |
[DynamicDependency(nameof(BeginInvokeDotNet))] | ||
[DynamicDependency(nameof(ReceiveByteArrayFromJS))] | ||
[DynamicDependency(nameof(UpdateRootComponentsCore))] | ||
[DynamicDependency(DynamicallyAccessedMemberTypes.PublicConstructors, typeof(KeyValuePair<,>))] | ||
|
||
private DefaultWebAssemblyJSRuntime() | ||
{ | ||
ElementReferenceContext = new WebElementReferenceContext(this); | ||
|
Uh oh!
There was an error while loading. Please reload this page.