Skip to content

Add [RequiresUnreferencedCode] attribute to top level APIs. #47663

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

Merged
merged 3 commits into from
Apr 13, 2023

Conversation

mitchdenny
Copy link
Member

Addresses #47521

Had to pick up a few other top level APIs in addition to the ones referenced. Did not annotate request localization because testing showed it seemed to be working.

@ghost ghost added the needs-area-label Used by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically label Apr 12, 2023
@DamianEdwards
Copy link
Member

@mitchdenny is it possible to get a screenshot of this lighting up in VS on a new native AOT project?

Copy link
Member

@captainsafia captainsafia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM -- I don't think the JS delta should be committed but I'm rusty on where the Blazor build setup stands at the moment...

@mitchdenny
Copy link
Member Author

I don't think the JS delta should be committed

Yeah good call, I hadn't actually noticed them. I've reverted them in the latest commit. I did trigger a build of blazor as I was testing some of my changes, but I'm not gonna try and parse what is different in that minified mess ;)

@mitchdenny mitchdenny enabled auto-merge (squash) April 13, 2023 01:21
@mitchdenny mitchdenny merged commit 656f091 into dotnet:main Apr 13, 2023
@ghost ghost added this to the 8.0-preview4 milestone Apr 13, 2023
@github-actions github-actions bot added area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates and removed needs-area-label Used by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically labels May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants