Base:
property
SupportedDiagnostics
Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer.SupportedDiagnostics
2 writes to SupportedDiagnostics
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\Analyzers\AbstractBuiltInCodeStyleDiagnosticAnalyzer_Core.cs (2)
32
SupportedDiagnostics
= [Descriptor];
40
SupportedDiagnostics
= supportedDiagnostics;
5 references to SupportedDiagnostics
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (3)
src\Analyzers\CSharp\Tests\AbstractBuiltInCodeStyleDiagnosticAnalyzer\AbstractBuiltInCodeStyleDiagnosticAnalyzerTests.cs (1)
25
Assert.Equal(analyzer.
SupportedDiagnostics
.Select(static diagnostic => diagnostic.Id), ids);
src\Analyzers\CSharp\Tests\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionTests.cs (1)
837
var descriptor = analyzer.
SupportedDiagnostics
.First(descriptor => descriptor.Id == IDEDiagnosticIds.ConvertSwitchStatementToExpressionDiagnosticId);
src\Analyzers\CSharp\Tests\RemoveUnusedMembers\RemoveUnusedMembersTests.cs (1)
1433
.Diagnostic(new CSharpRemoveUnusedMembersDiagnosticAnalyzer().
SupportedDiagnostics
.First(x => x.Id == "IDE0052"))
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\Analyzers\AbstractBuiltInCodeStyleDiagnosticAnalyzer_Core.cs (2)
42
Descriptor =
SupportedDiagnostics
[0];
205
foreach (var descriptor in
SupportedDiagnostics
)