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