2 references to Rule
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Runtime\PreferAsSpanOverSubstring.cs (2)
37public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(Rule); 78Diagnostic diagnostic = invocation.CreateDiagnostic(Rule);