-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
area-System.Runtimelinkable-frameworkIssues associated with delivering a linker friendly frameworkIssues associated with delivering a linker friendly framework
Description
Currently when calling Process.Start it brings the whole reflection stack with it even when the Switch.System.Runtime.Serialization.SerializationGuard.AllowProcessCreation is specified. This adds about 1MB to the final binary size.
The SerializationGuard seems to use reflection internally to retrieve the switch here which ends up rooting the reflection stack. It would be nice if the whole reflection guard concept would be possible to trim away on NAOT.
MichalStrehovsky, wasdawz and charlesroddie
Metadata
Metadata
Assignees
Labels
area-System.Runtimelinkable-frameworkIssues associated with delivering a linker friendly frameworkIssues associated with delivering a linker friendly framework