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