1 reference to AddCastIfNecessary
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (1)
246
var switchStatement = topLevel ?
AddCastIfNecessary
(node) : node;