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