Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,6 @@
<ItemGroup>
<InternalsVisibleTo Include="DynamicProxyGenAssembly2" Key="$(MoqPublicKey)" />
</ItemGroup>


</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ internal sealed partial class DefaultWebAssemblyJSRuntime : WebAssemblyJSRuntime
[DynamicDependency(nameof(BeginInvokeDotNet))]
[DynamicDependency(nameof(ReceiveByteArrayFromJS))]
[DynamicDependency(nameof(UpdateRootComponentsCore))]
[DynamicDependency(DynamicallyAccessedMemberTypes.PublicConstructors, typeof(KeyValuePair<,>))]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot Use LinkerFlags.JsonSerialized

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to use LinkerFlags.JsonSerialized for consistency with other JSON-serialized types in the same file. Commit: 2cf9e04

private DefaultWebAssemblyJSRuntime()
{
ElementReferenceContext = new WebElementReferenceContext(this);
Expand Down
Loading