3 references to Rule
Roslyn.Diagnostics.CSharp.Analyzers (3)
PreferNullLiteral.cs (2)
33
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
Rule
);
78
context.ReportDiagnostic(context.Operation.CreateDiagnostic(
Rule
));
PreferNullLiteralCodeFixProvider.cs (1)
28
public override ImmutableArray<string> FixableDiagnosticIds { get; } = ImmutableArray.Create(PreferNullLiteral.
Rule
.Id);