Skip to content

Add new attributes for ILLink analysis. - #35387

Merged
eerhardt merged 2 commits into
dotnet:masterfrom
eerhardt:AddDynamicallyAccessAttributes
Apr 28, 2020
Merged

eerhardt merged 2 commits into
dotnet:masterfrom
eerhardt:AddDynamicallyAccessAttributes

Conversation

@eerhardt

Copy link
Copy Markdown
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
Copy Markdown
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.

Comment thread src/libraries/System.Runtime/ref/System.Runtime.cs
Add attribute unit tests.
@eerhardt

Copy link
Copy Markdown
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