Skip to content

Docs should expose trimming attributes #45650

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

Open
agocke opened this issue Apr 7, 2025 · 0 comments
Open

Docs should expose trimming attributes #45650

agocke opened this issue Apr 7, 2025 · 0 comments
Labels
⌚ Not Triaged Not triaged

Comments

@agocke
Copy link
Member

agocke commented Apr 7, 2025

Describe the issue or suggestion

When an API is marked with the RequiresUnreferencedCodeAttibute or RequiresDynamicCodeAttribute, that means it's incompatible with trimming or AOT, respectively.

This info is relevant to users of the API and should be visible somewhere in the docs.

Similarly, any type marked with [DynamicallyAccessedMembers] can impact users of the API. All of these attributes should be exposed in the API docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⌚ Not Triaged Not triaged
Projects
None yet
Development

No branches or pull requests

2 participants