35 references to BoundBadExpression
Microsoft.CodeAnalysis.VisualBasic (35)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
1332
Public Overrides Function VisitBadExpression(node As
BoundBadExpression
) As BoundNode
Binding\Binder_Expressions.vb (8)
288
Protected Shared Function BadExpression(node As SyntaxNode, resultType As TypeSymbol) As
BoundBadExpression
296
Private Shared Function BadExpression(node As SyntaxNode, expr As BoundExpression, resultType As TypeSymbol) As
BoundBadExpression
304
Private Shared Function BadExpression(node As SyntaxNode, expr As BoundExpression, resultKind As LookupResultKind, resultType As TypeSymbol) As
BoundBadExpression
312
Private Shared Function BadExpression(node As SyntaxNode, exprs As ImmutableArray(Of BoundExpression), resultType As TypeSymbol) As
BoundBadExpression
316
Private Shared Function BadExpression(expr As BoundExpression) As
BoundBadExpression
321
Private Shared Function BadExpression(resultKind As LookupResultKind, wrappedExpression As BoundExpression) As
BoundBadExpression
322
Dim wrappedBadExpression As
BoundBadExpression
= TryCast(wrappedExpression,
BoundBadExpression
)
Binding\Binder_ObjectInitializer.vb (1)
427
Dim badExpression = DirectCast(resultExpression,
BoundBadExpression
)
Binding\Binder_XmlLiterals.vb (1)
898
Private Function ReportXmlNamespacePrefixNotDefined(syntax As VisualBasicSyntaxNode, prefixToken As SyntaxToken, prefix As String, compilerGenerated As Boolean, diagnostics As BindingDiagnosticBag) As
BoundBadExpression
BoundTree\BoundAssignmentOperator.vb (1)
124
leftNode = DirectCast(boundUserDefinedOperator.UnderlyingExpression,
BoundBadExpression
).ChildBoundNodes(0)
BoundTree\BoundExpressionExtensions.vb (2)
550
Return DirectCast(node,
BoundBadExpression
).Symbols.Length > 0
597
symbols.AddRange(DirectCast(node,
BoundBadExpression
).Symbols)
Compilation\SemanticModel.vb (9)
992
If type Is Nothing AndAlso TypeOf boundNodes.LowestBoundNodeOfSyntacticParent Is
BoundBadExpression
Then
1000
type = DirectCast(boundNodes.LowestBoundNodeOfSyntacticParent,
BoundBadExpression
).Type
1041
DirectCast(boundNodes.LowestBoundNodeOfSyntacticParent,
BoundBadExpression
).ResultKind = LookupResultKind.NotCreatable Then
1150
For Each child In DirectCast(lowestExpr,
BoundBadExpression
).ChildBoundNodes
1192
bindingSymbols = DirectCast(highestBoundNodeExpr,
BoundBadExpression
).Symbols
1311
Dim badExpression = DirectCast(boundNodes.LowestBoundNodeOfSyntacticParent,
BoundBadExpression
)
1367
Dim badExpression = DirectCast(boundNodes.LowestBoundNodeOfSyntacticParent,
BoundBadExpression
)
1451
Dim boundBadExpression As
BoundBadExpression
= DirectCast(boundNodeOfSyntacticParent,
BoundBadExpression
)
Generated\BoundNodes.xml.Generated.vb (7)
629
Public Function Update(resultKind As LookupResultKind, symbols As ImmutableArray(Of Symbol), childBoundNodes As ImmutableArray(Of BoundExpression), type As TypeSymbol) As
BoundBadExpression
9359
Return VisitBadExpression(CType(node,
BoundBadExpression
), arg)
9731
Public Overridable Function VisitBadExpression(node As
BoundBadExpression
, arg As A) As R
10434
Public Overridable Function VisitBadExpression(node As
BoundBadExpression
) As BoundNode
11140
Public Overrides Function VisitBadExpression(node As
BoundBadExpression
) As BoundNode
12096
Public Overrides Function VisitBadExpression(node As
BoundBadExpression
) As BoundNode
13203
Public Overrides Function VisitBadExpression(node As
BoundBadExpression
, arg As Object) As TreeDumperNode
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (2)
214
Return VisitBadExpression(DirectCast(node,
BoundBadExpression
))
549
Private Function VisitBadExpression(node As
BoundBadExpression
) As BoundExpression
Lowering\LocalRewriter\LocalRewriter.vb (1)
474
Public Overrides Function VisitBadExpression(node As
BoundBadExpression
) As BoundNode
Lowering\LocalRewriter\LocalRewriter_FieldAccess.vb (1)
71
Private Shared Function MakeBadFieldAccess(syntax As SyntaxNode, tupleField As FieldSymbol, rewrittenReceiver As BoundExpression) As
BoundBadExpression
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (1)
486
Public NotOverridable Overrides Function VisitBadExpression(node As
BoundBadExpression
) As BoundNode