Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

MichalStrehovsky
Copy link
Member

This makes ASP.NET 50 kB smaller with native AOT.

We don't even need this MethodInfo but it's created in the static constructor along with other things that are needed so can't get rid of it. Could move it to a different type to get it fully out of the way.

Note: this was previously grabbing MethodInfo of the lambda but that might have been unintentional.

This makes ASP.NET 50 kB smaller with native AOT.

We don't even need this `MethodInfo` but it's created in the static constructor along with other things that are needed so can't get rid of it. Could move it to a different type to get it fully out of the way.

Note: this was previously grabbing `MethodInfo` of the lambda but that might have been unintentional.
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-extensions-dependencyinjection
See info in area-owners.md if you want to be subscribed.

@MichalStrehovsky MichalStrehovsky merged commit 12418b9 into dotnet:main Apr 11, 2024
@MichalStrehovsky MichalStrehovsky deleted the smallactivator branch April 11, 2024 22:32
matouskozak pushed a commit to matouskozak/runtime that referenced this pull request Apr 30, 2024
This makes ASP.NET 50 kB smaller with native AOT.

We don't even need this `MethodInfo` but it's created in the static constructor along with other things that are needed so can't get rid of it. Could move it to a different type to get it fully out of the way.

Note: this was previously grabbing `MethodInfo` of the lambda but that might have been unintentional.
@github-actions github-actions bot locked and limited conversation to collaborators May 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants