2 references to Rule
Roslyn.Diagnostics.Analyzers (2)
DefaultableTypeShouldHaveDefaultableFieldsAnalyzer.cs (2)
37public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(Rule); 107originalContext.ReportDiagnostic(field.CreateDiagnostic(Rule, field.ContainingType, sourceSymbol.Name));