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