2 references to Rule
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.CodeQuality.Analyzers\Maintainability\AvoidLengthCalculationWhenSlicingToEnd.cs (2)
38
public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
Rule
);
78
context.ReportDiagnostic(invocation.CreateDiagnostic(
Rule
, invocation.TargetMethod.ToDisplayString()));