7 instantiations of BoundBadStatement
Microsoft.CodeAnalysis.CSharp (7)
Compilation\SyntaxTreeSemanticModel_RegionAnalysisContext.cs (1)
34
var node = new
BoundBadStatement
(expression, ImmutableArray<BoundNode>.Empty, hasErrors: true);
Compiler\MethodCompiler.cs (1)
1478
return new
BoundBadStatement
(body.Syntax, ImmutableArray.Create<BoundNode>(body), hasErrors: true);
Generated\BoundNodes.xml.Generated.cs (1)
1030
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);
13 references to BoundBadStatement
Microsoft.CodeAnalysis.CSharp (13)
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);
FlowAnalysis\AbstractFlowPass.cs (1)
1585
public override BoundNode VisitBadStatement(
BoundBadStatement
node)
Generated\BoundNodes.xml.Generated.cs (8)
1026
public
BoundBadStatement
Update(ImmutableArray<BoundNode> childBoundNodes)
1030
var
result = new BoundBadStatement(this.Syntax, childBoundNodes, this.HasErrors);
8873
return VisitBadStatement((
BoundBadStatement
)node, arg);
9324
public virtual R VisitBadStatement(
BoundBadStatement
node, A arg) => this.DefaultVisit(node, arg);
9560
public virtual BoundNode? VisitBadStatement(
BoundBadStatement
node) => this.DefaultVisit(node);
9824
public override BoundNode? VisitBadStatement(
BoundBadStatement
node)
10902
public override BoundNode? VisitBadStatement(
BoundBadStatement
node)
15117
public override TreeDumperNode VisitBadStatement(
BoundBadStatement
node, object? arg) => new TreeDumperNode("badStatement", null, new TreeDumperNode[]
Operations\CSharpOperationFactory.cs (2)
201
return CreateBoundBadStatementOperation((
BoundBadStatement
)boundNode);
2089
private IInvalidOperation CreateBoundBadStatementOperation(
BoundBadStatement
boundBadStatement)