Skip to content

Remove DynamicDependency from ValueType in browser builds #47909

Open
@marek-safar

Description

@marek-safar

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.

Metadata

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