Does Roslyn support code fix actions for project/compilation-level diagnostics (with no location)? #50087
-
We can report diagnostics for Compilation, SyntaxTree, SyntaxModel but those diagnostics will not have location.
We can also register code fixes for those diagnostics. But it looks like there is no way to execute those code fixes (there is no light bulb, I can only see it in error list window).
I even can't test such diagnostic because So, can I make code fixes for a such diagnostics or not? |
Beta Was this translation helpful? Give feedback.
Answered by
CyrusNajmabadi
Dec 21, 2020
Replies: 1 comment 1 reply
-
No. That is not supported. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Denis535
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No. That is not supported.