Skip to content

Remove DynamicDependency from ValueType in browser builds #47909

Open

Description

By removing global [DynamicDependency(DynamicallyAccessedMemberTypes.PublicMethods, "System.Runtime.InteropServices.JavaScript.JSFunctionBinding", "System.Runtime.InteropServices.JavaScript")] attribute from System.ValueType we could keep only marshaling support for types that are used. The attribute needs to be used today because there is no reference to the assembly from managed code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

arch-wasmWebAssembly architecturearea-System.Runtimesize-reductionIssues impacting final app size primary for size sensitive workloads

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions