1 instantiation of EnumValidationGenerator
System.Windows.Forms.PrivateSourceGenerators.Tests (1)
EnumValidationTests.cs (1)
305
ISourceGenerator generator = new
EnumValidationGenerator
().AsSourceGenerator();
1 reference to EnumValidationGenerator
System.Windows.Forms.PrivateSourceGenerators (1)
System\Windows\Forms\SourceGenerators\EnumValidationGenerator.cs (1)
191
context.ReportDiagnostic(Diagnostic.Create("EV1", nameof(
EnumValidationGenerator
), $"Can't validate an enum that has no elements", DiagnosticSeverity.Error, DiagnosticSeverity.Error, true, 4));