26 references to BadExpression
Microsoft.CodeAnalysis.VisualBasic (26)
Analysis\ForLoopVerification.vb (1)
73controlVariable.Kind = BoundKind.BadExpression OrElse
Binding\Binder_Attributes.vb (1)
818Case BoundKind.BadExpression
Binding\Binder_Delegates.vb (1)
122Debug.Assert(boundFirstArgument.Kind = BoundKind.BadExpression OrElse
Binding\Binder_Invocation.vb (3)
331If target.Kind = BoundKind.BadExpression Then 448If withoutArgs.Kind = BoundKind.BadExpression Then 533Debug.Assert((defaultMemberGroup.Kind = BoundKind.BadExpression) OrElse (defaultMemberGroup.Kind = BoundKind.PropertyGroup))
Binding\Binder_Query.vb (2)
412Dim suppressCallDiagnostics As Boolean = (firstSelectExpression.Kind = BoundKind.BadExpression) 416suppressCallDiagnostics = query.UnderlyingExpression.Kind = BoundKind.BadExpression
Binding\Binder_Statements.vb (1)
1258Debug.Assert(declarationInitializer.Kind = BoundKind.BadExpression)
Binding\Binder_Utils.vb (1)
1351Case BoundKind.BadExpression
BoundTree\BoundBinaryConditionalExpression.vb (1)
21Debug.Assert(ConvertedTestExpression.Kind = BoundKind.BadExpression)
BoundTree\BoundExpressionExtensions.vb (3)
73Case BoundKind.BadExpression 549Case BoundKind.BadExpression 596Case BoundKind.BadExpression
BoundTree\BoundObjectInitializerExpression.vb (1)
18Debug.Assert(DirectCast(initializer, BoundAssignmentOperator).Left.Kind = BoundKind.BadExpression OrElse
BoundTree\BoundUserDefinedBinaryOperator.vb (1)
35Debug.Assert(UnderlyingExpression.Kind = BoundKind.BadExpression OrElse UnderlyingExpression.Kind = BoundKind.Call)
BoundTree\BoundUserDefinedUnaryOperator.vb (1)
29Debug.Assert(UnderlyingExpression.Kind = BoundKind.BadExpression OrElse UnderlyingExpression.Kind = BoundKind.Call)
Compilation\SemanticModel.vb (6)
1040boundNodes.LowestBoundNodeOfSyntacticParent.Kind = BoundKind.BadExpression AndAlso 1146If lowestExpr.Kind = BoundKind.BadExpression AndAlso lowestExpr.Syntax.Kind = SyntaxKind.ObjectCreationExpression Then 1190If highestBoundNodeExpr.Kind = BoundKind.BadExpression AndAlso bindingSymbols.Length = 0 Then 1310Case BoundKind.BadExpression 1366Case BoundKind.BadExpression 1449Case BoundKind.BadExpression
Generated\BoundNodes.xml.Generated.vb (2)
587MyBase.New(BoundKind.BadExpression, syntax, type, hasErrors OrElse childBoundNodes.NonNullAndHasErrors()) 9358Case BoundKind.BadExpression
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
213Case BoundKind.BadExpression