1 write to _castNode
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\CastAnalyzer.vb (1)
26
_castNode
= castNode
12 references to _castNode
Microsoft.CodeAnalysis.VisualBasic.Workspaces (12)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\CastAnalyzer.vb (12)
35
Dim argument = TryCast(
_castNode
.WalkUpParentheses().Parent, ArgumentSyntax)
160
Dim parentExpression =
_castNode
.WalkUpParentheses()
186
Dim speculationAnalyzer = New SpeculationAnalyzer(
_castNode
, _castExpressionNode, _semanticModel, _cancellationToken,
199
Dim castTypeInfo = _semanticModel.GetTypeInfo(
_castNode
, _cancellationToken)
226
_castNode
.WalkUpParentheses().IsParentKind(SyntaxKind.Interpolation) Then
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)
254
Dim outerSpeculatedExpression =
_castNode
.WalkUpParentheses()
274
expressionToOuterType = _semanticModel.ClassifyConversion(
_castNode
.SpanStart, _castExpressionNode, outerType)
283
(UserDefinedConversionIsAllowed(
_castNode
) AndAlso