Skip to content

Conversation

@sbomer
Copy link
Member

@sbomer sbomer commented Sep 16, 2025

Prevent this optimization from running when we are planning to AOT the trimmed output.
This optimization can cause problems when it rewrites compiler-generated property accessors that NativeAOT expects to see (to map annotations to the underlying field).

Fixes dotnet/runtime#119780.

@mandel-macaque
Copy link
Contributor

/azp run xamarin-macios-pr

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@rolfbjarne
Copy link
Member

@sbomer do you still want this? it looks like there's another fix on the way: dotnet/runtime#119820

@sbomer
Copy link
Member Author

sbomer commented Sep 18, 2025

Nope, closing in favor of dotnet/runtime#119820.

@sbomer sbomer closed this Sep 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ILC warns when it fails to find trimmed-away backing field

4 participants