Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix attribute embedding determinism #15065

Merged
merged 4 commits into from
Apr 12, 2023
Merged

Conversation

KevinRansom
Copy link
Member

@KevinRansom KevinRansom commented Apr 11, 2023

Emit embedded types in a deterministic order.

Fixes #15048


Make generated attribute property public. It still is not visible outside of the assembly because the type is internal.

@KevinRansom KevinRansom requested a review from a team as a code owner April 11, 2023 22:06
Copy link
Contributor

@nojaf nojaf left a comment

Choose a reason for hiding this comment

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

I can confirm this works.
My local tests show that the binary is deterministic again.
Thanks a bunch @KevinRansom!

@KevinRansom KevinRansom enabled auto-merge (squash) April 12, 2023 19:53
@KevinRansom KevinRansom merged commit 79e5466 into dotnet:main Apr 12, 2023
@KevinRansom KevinRansom deleted the fix15048 branch April 29, 2023 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

IL generation is no longer deterministic
5 participants