7 references to ConvertSwitchStatementToExpressionDiagnosticId
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
CodeCleanup\CSharpCodeCleanupService.cs (1)
114IDEDiagnosticIds.ConvertSwitchStatementToExpressionDiagnosticId,
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\Analyzers\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionDiagnosticAnalyzer.cs (1)
22: AbstractBuiltInCodeStyleDiagnosticAnalyzer(IDEDiagnosticIds.ConvertSwitchStatementToExpressionDiagnosticId,
src\Analyzers\CSharp\CodeFixes\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionCodeFixProvider.cs (1)
33=> [IDEDiagnosticIds.ConvertSwitchStatementToExpressionDiagnosticId];
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
src\Analyzers\CSharp\Tests\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionTests.cs (1)
837var descriptor = analyzer.SupportedDiagnostics.First(descriptor => descriptor.Id == IDEDiagnosticIds.ConvertSwitchStatementToExpressionDiagnosticId);
Microsoft.VisualStudio.LanguageServices.CSharp (3)
LanguageService\CSharpCodeCleanupFixerDiagnosticIds.cs (3)
154[FixId(IDEDiagnosticIds.ConvertSwitchStatementToExpressionDiagnosticId)] 155[Name(IDEDiagnosticIds.ConvertSwitchStatementToExpressionDiagnosticId)] 158[HelpLink($"https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/{IDEDiagnosticIds.ConvertSwitchStatementToExpressionDiagnosticId}")]