I am attempting to write a C# source generator that throws a warning/error under certain conditions using GeneratorExecutionContext.ReportDiagnostic. My source gen
GeneratorExecutionContext.ReportDiagnostic