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

Add tests for ldtoken analysis and fixes a small bug for a field #3173

Merged
merged 1 commit into from
Jan 5, 2023

Conversation

vitek-karas
Copy link
Member

LdToken acts basically as a reflection access and so it needs to warn about the returned member if that has annotations on it.

This adds tests for #3172 which is not fixed by this change.

LdToken acts basically as a reflection access and so it needs to warn about the returned member if that has annotations on it.
@vitek-karas vitek-karas added this to the .NET 8.0 milestone Jan 4, 2023
@vitek-karas vitek-karas requested a review from sbomer January 4, 2023 21:03
@vitek-karas vitek-karas self-assigned this Jan 4, 2023
@vitek-karas vitek-karas merged commit beb6d3b into dotnet:main Jan 5, 2023
@vitek-karas vitek-karas deleted the LdTokenAnalysis branch January 5, 2023 08:44
tlakollo pushed a commit to tlakollo/runtime that referenced this pull request Jan 16, 2023
…net/linker#3173)

LdToken acts basically as a reflection access and so it needs to warn about the returned member if that has annotations on it.

Commit migrated from dotnet/linker@beb6d3b
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.

2 participants