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