Open
Description
openedon Apr 13, 2020
The source line info support for System.Diagnostics.StackTrace/StackFrame comes with a noticeable cost for workloads which are size sensitive and don't contain PDB information anyway.
With change #32023, we added a PreserveDependency
attribute here:
As noted in the PR, the change added ~200K to the "Console Hello World" app, bringing in the following assemblies, which were not needed before:
We should consider adding a feature switch (dotnet/designs#99) or similar functionality to allow app developers to opt-out of this behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment