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