Can a source generator reference itself as an analyzer? #67359
-
In general, an assembly cannot reference itself. So, can a source generator reference itself as an analyzer? If there is a way to do this, please let me know. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I would design things such that there was a common core analysis component. Then the SG code and the DiagnosticAnalyzer code would both reference that analysis component. |
Beta Was this translation helpful? Give feedback.
I would design things such that there was a common core analysis component. Then the SG code and the DiagnosticAnalyzer code would both reference that analysis component.