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 new attributes for ILLink analysis. #35387

Merged
merged 2 commits into from
Apr 28, 2020

Conversation

eerhardt
Copy link
Member

Add the following new attributes that will be used by the linker. See the original design proposal here: dotnet/linker#988.

  • DynamicallyAccessedMembersAttribute
  • DynamicDependencyAttribute
  • UnconditionalSuppressMessageAttribute

Fix #33861, #35339, #30902

DynamicallyAccessedMembersAttribute
DynamicDependencyAttribute
UnconditionalSuppressMessageAttribute

Fix dotnet#33861, dotnet#35339, dotnet#30902
@Dotnet-GitSync-Bot
Copy link
Collaborator

Note regarding the new-api-needs-documentation label:

This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, to please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change.

Add attribute unit tests.
@eerhardt
Copy link
Member Author

Any more feedback here? I'd like to merge this.

@eerhardt eerhardt merged commit 89b2f42 into dotnet:master Apr 28, 2020
@eerhardt eerhardt deleted the AddDynamicallyAccessAttributes branch April 28, 2020 18:44
@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add DynamicallyAccessedMembersAttribute
5 participants