-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
Add [RequiresUnreferencedCode] attribute to top level APIs. #47663
Conversation
src/Mvc/Mvc.RazorPages/src/DependencyInjection/MvcRazorPagesMvcCoreBuilderExtensions.cs
Outdated
Show resolved
Hide resolved
@mitchdenny is it possible to get a screenshot of this lighting up in VS on a new native AOT project? |
There was a problem hiding this 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...
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 ;) |
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.