3 references to UseSingletonEnumerableRule
Roslyn.Diagnostics.Analyzers (3)
SpecializedEnumerableCreationAnalyzer.cs (3)
51
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(UseEmptyEnumerableRule,
UseSingletonEnumerableRule
);
130
public static ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(UseEmptyEnumerableRule,
UseSingletonEnumerableRule
);
159
addDiagnostic(arrayCreationExpression.CreateDiagnostic(
UseSingletonEnumerableRule
));