2 references to Rule
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Runtime\AvoidConstArrays.cs (2)
34
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
Rule
);
149
context.ReportDiagnostic(arrayCreationOperation.CreateDiagnostic(
Rule
, properties.ToImmutable()));