2 references to ArrayReadOnlyRule
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Performance\UseAsSpanInsteadOfRangeIndexer.cs (2)
65
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(StringRule,
ArrayReadOnlyRule
, ArrayReadWriteRule);
191
rule = readOnlyTypes.Contains(targetType) ?
ArrayReadOnlyRule
: ArrayReadWriteRule;