1 write to _semanticModel
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (1)
32_semanticModel = semanticModel;
4 references to _semanticModel
Microsoft.CodeAnalysis.CSharp.Features (4)
src\Analyzers\CSharp\CodeFixes\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionCodeFixProvider.Rewriter.cs (4)
192var typeInfo = _semanticModel.GetTypeInfo(node, _cancellationToken); 197var conversion = _semanticModel.Compilation.ClassifyConversion(typeInfo.Type, typeInfo.ConvertedType); 262var expressionType = _semanticModel.GetSymbolInfo(node.Expression).Symbol.GetSymbolType(); 263var expressionConvertedType = _semanticModel.GetTypeInfo(node.Expression).ConvertedType;