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 AOT warning in System.Linq.Expressions #109758

Merged
merged 1 commit into from
Nov 13, 2024
Merged

Conversation

sbomer
Copy link
Member

@sbomer sbomer commented Nov 13, 2024

The UnconditionalSuppressMessage didn't work correctly because it wasn't targeting the static constructor. We don't need to suppress this warning - we can just bubble it up because it looks like all references to CallSiteOpsReflectionCache are already annotated with RequiresDynamicCode.

The UnconditionalSuppressMessage didn't work correctly because
it wasn't targeting the static constructor. We don't need to suppress
this warning - we can just bubble it up because it looks like all references
to CallSiteOpsReflectionCache<T> are already annotated with
RequiresDynamicCode.
@sbomer sbomer requested review from eerhardt and a team November 13, 2024 00:00
@sbomer sbomer marked this pull request as ready for review November 13, 2024 00:03
Copy link
Contributor

Tagging subscribers to this area: @cston
See info in area-owners.md if you want to be subscribed.

Copy link
Member

@eerhardt eerhardt left a comment

Choose a reason for hiding this comment

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

LGTM

@sbomer sbomer merged commit 25307d8 into dotnet:main Nov 13, 2024
80 of 83 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants