Fix BL0013 diagnostic location for GetAuthenticationStateAsync - #68451
Fix BL0013 diagnostic location for GetAuthenticationStateAsync#68451javiercn wants to merge 1 commit into
Conversation
The analyzer was reporting the component declaration instead of the GetAuthenticationStateAsync invocation when no auth-state subscription was present. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1ebba356-ca5d-4068-bb04-476f6f149196
2c1a36a to
271e9cd
Compare
@ilonatommy @javiercn it's not urgent, is it? I'm currently away. |
|
@kdinev nope. We are trying to close down on RC1, but maybe can wait a few hours/day. I saw @danroth27 file it as it came up during the P7 demos, and I just tasked copilot on the side to fix it so that we don't miss it. |
I'll try to get it reviewed by tomorrow morning. I'm away till the end of next week but I don't want to be delaying the RC. |
ilonatommy
left a comment
There was a problem hiding this comment.
Re-applying based on @kdinev's approval.
Summary
Fix BL0013 to report the actual GetAuthenticationStateAsync() invocation location instead of the component declaration when analyzing generated Razor code.
Validation
Fixes #68339