You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to develop a Source Generator that only registers if a certain option (passed from MSBuild) is specified, so that it can completely avoid to RegisterForSyntaxNotifications and would not have any cost to the compilation if it is turned off.
Today, AnalyzerConfigOptions is only accessible from GeneratorExecutionContext, would it be possible to make this accessible to GeneratorInitializationContext as well? Is there any drawbacks in doing this?