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