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