Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Remove LINQ usage from Enum conversion from/to string #143

Merged
merged 3 commits into from
May 20, 2024

Conversation

filipnavara
Copy link
Contributor

This prevents unintended and unbound generic specialization expansion in the NativeAOT compiler.

Fixes #142

…unintended and unbound generic specialization expansion in the NativeAOT compiler.
@filipnavara filipnavara requested a review from a team as a code owner May 18, 2024 12:18
Copy link
Member

@andrueastman andrueastman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @filipnavara

Any chance you can add a changelog entry in the repository root as well as bump the patch version in the csproj?

@filipnavara
Copy link
Contributor Author

Any chance you can add a changelog entry in the repository root as well as bump the patch version in the csproj?

Done

Copy link
Member

@andrueastman andrueastman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution @filipnavara

@andrueastman andrueastman enabled auto-merge May 20, 2024 08:36
@andrueastman andrueastman merged commit 087222f into microsoft:main May 20, 2024
7 checks passed
@neon-sunset
Copy link

neon-sunset commented May 20, 2024

Thank you, this reduces the size of certain SDK when AOT compiled by 30 MiB (!).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Unbounded LINQ expansion in AOT scenarios
3 participants