1 write to _semanticModel
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\CastAnalyzer.vb (1)
28_semanticModel = semanticModel
14 references to _semanticModel
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (14)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\CastAnalyzer.vb (14)
37Dim parameter = argument.DetermineParameter(_semanticModel, cancellationToken:=_cancellationToken) 41Dim conversion = _semanticModel.Compilation.ClassifyConversion(castType, parameterType) 46Dim conversionElementType = _semanticModel.Compilation.ClassifyConversion(castType, parameterType.ElementType) 186Dim speculationAnalyzer = New SpeculationAnalyzer(_castNode, _castExpressionNode, _semanticModel, _cancellationToken, 199Dim castTypeInfo = _semanticModel.GetTypeInfo(_castNode, _cancellationToken) 210castExpressionType = _semanticModel.GetSpeculativeTypeInfo(_castExpressionNode.SpanStart, _castExpressionNode, SpeculativeBindingOption.BindAsExpression).ConvertedType 212castExpressionType = _semanticModel.GetTypeInfo(_castExpressionNode, _cancellationToken).Type 236Dim expressionToCastType = _semanticModel.ClassifyConversion(_castNode.SpanStart, _castExpressionNode, castType) 248Dim outerType = GetOuterCastType(_castNode, castTypeInfo, _semanticModel, _cancellationToken) 251Dim castToOuterType As Conversion = _semanticModel.ClassifyConversion(_castNode.SpanStart, _castNode, outerType) 260expressionToOuterType = _semanticModel.ClassifyConversion(_castExpressionNode.WalkDownParentheses(), speculatedExpressionOuterType) 267expressionToOuterType = _semanticModel.ClassifyConversion(_castExpressionNode.WalkDownParentheses(), speculatedExpressionOuterType) 274expressionToOuterType = _semanticModel.ClassifyConversion(_castNode.SpanStart, _castExpressionNode, outerType) 336Not _semanticModel.OptionStrict = OptionStrict.On Then