11 references to UseHeaderDictionaryPropertiesInsteadOfIndexer
Microsoft.AspNetCore.App.Analyzers (2)
Http\HeaderDictionaryIndexerAnalyzer.cs (2)
16public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(DiagnosticDescriptors.UseHeaderDictionaryPropertiesInsteadOfIndexer); 176DiagnosticDescriptors.UseHeaderDictionaryPropertiesInsteadOfIndexer,
Microsoft.AspNetCore.App.Analyzers.Test (8)
Http\HeaderDictionaryIndexerAnalyzerTests.cs (3)
32new DiagnosticResult(DiagnosticDescriptors.UseHeaderDictionaryPropertiesInsteadOfIndexer) 53new DiagnosticResult(DiagnosticDescriptors.UseHeaderDictionaryPropertiesInsteadOfIndexer) 151new DiagnosticResult(DiagnosticDescriptors.UseHeaderDictionaryPropertiesInsteadOfIndexer)
Http\HeaderDictionaryIndexerFixerTests.cs (5)
32new DiagnosticResult(DiagnosticDescriptors.UseHeaderDictionaryPropertiesInsteadOfIndexer) 68new DiagnosticResult(DiagnosticDescriptors.UseHeaderDictionaryPropertiesInsteadOfIndexer) 97new DiagnosticResult(DiagnosticDescriptors.UseHeaderDictionaryPropertiesInsteadOfIndexer) 122new DiagnosticResult(DiagnosticDescriptors.UseHeaderDictionaryPropertiesInsteadOfIndexer) 149new DiagnosticResult(DiagnosticDescriptors.UseHeaderDictionaryPropertiesInsteadOfIndexer)
Microsoft.AspNetCore.App.CodeFixes (1)
Http\HeaderDictionaryIndexerFixer.cs (1)
19public override ImmutableArray<string> FixableDiagnosticIds { get; } = ImmutableArray.Create(DiagnosticDescriptors.UseHeaderDictionaryPropertiesInsteadOfIndexer.Id);