Following the syntax error, I decided to actually implement IIncrementalGenerator: [...]
However, even then, the same exact error is still reported.
Yes, of course, because you are still using GeneratorExecutionContext
. The error told you in no uncertain terms that it is verboten to use GeneratorExecutionContext
.
How can I solve this issue?
Do not use GeneratorExecutionContext
.