Skip to content

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