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