14 references to BoundBadStatement
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Statements.cs (5)
146result = new BoundBadStatement(node, ImmutableArray<BoundNode>.Empty, hasErrors: true); 520return new BoundBadStatement(node, ImmutableArray.Create<BoundNode>(expression), true); 545return new BoundBadStatement(node, childNodes, true); 2942return new BoundBadStatement(node, ImmutableArray<BoundNode>.Empty, hasErrors: true); 2953return new BoundBadStatement(node, ImmutableArray<BoundNode>.Empty, hasErrors: true);
Binder\SwitchBinder.cs (1)
545return new BoundBadStatement(
Compilation\SyntaxTreeSemanticModel_RegionAnalysisContext.cs (2)
34var node = new BoundBadStatement(expression, ImmutableArray<BoundNode>.Empty, hasErrors: true); 51var node = new BoundBadStatement(firstStatement, ImmutableArray<BoundNode>.Empty, hasErrors: true);
Compiler\MethodCompiler.cs (1)
1608return new BoundBadStatement(body.Syntax, ImmutableArray.Create<BoundNode>(body), hasErrors: true);
Generated\BoundNodes.xml.Generated.cs (1)
1012var result = new BoundBadStatement(this.Syntax, childBoundNodes, this.HasErrors);
Lowering\AsyncRewriter\AsyncRewriter.cs (2)
95return new BoundBadStatement(bodyWithAwaitLifted.Syntax, ImmutableArray.Create<BoundNode>(bodyWithAwaitLifted), hasErrors: true); 223return new BoundBadStatement(F.Syntax, ImmutableArray<BoundNode>.Empty, hasErrors: true);
Lowering\LocalRewriter\LocalRewriter.cs (1)
173return new BoundBadStatement(statement.Syntax, ImmutableArray.Create<BoundNode>(statement), hasErrors: true);
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
123return new BoundBadStatement(F.Syntax, ImmutableArray<BoundNode>.Empty, hasErrors: true);