2 instantiations of BoundThrowExpression
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (1)
8581var result = new BoundThrowExpression(this.Syntax, expression, type, this.HasErrors);
Lowering\SyntheticBoundNodeFactory.cs (1)
1214return new BoundThrowExpression(thrown.Syntax, thrown, type) { WasCompilerGenerated = true };
20 references to BoundThrowExpression
Microsoft.CodeAnalysis.CSharp (20)
CodeGen\EmitExpression.cs (2)
349EmitThrowExpression((BoundThrowExpression)expression, used); 369private void EmitThrowExpression(BoundThrowExpression node, bool used)
FlowAnalysis\AbstractFlowPass.cs (1)
908public override BoundNode VisitThrowExpression(BoundThrowExpression node)
FlowAnalysis\NullableWalker.cs (1)
11957public override BoundNode? VisitThrowExpression(BoundThrowExpression node)
Generated\BoundNodes.xml.Generated.cs (10)
8577public BoundThrowExpression Update(BoundExpression expression, TypeSymbol? type) 8581var result = new BoundThrowExpression(this.Syntax, expression, type, this.HasErrors); 9282return VisitThrowExpression((BoundThrowExpression)node, arg); 9529public virtual R VisitThrowExpression(BoundThrowExpression node, A arg) => this.DefaultVisit(node, arg); 9765public virtual BoundNode? VisitThrowExpression(BoundThrowExpression node) => this.DefaultVisit(node); 10756public override BoundNode? VisitThrowExpression(BoundThrowExpression node) 12165public override BoundNode? VisitThrowExpression(BoundThrowExpression node) 14843public override BoundNode? VisitThrowExpression(BoundThrowExpression node) 14846BoundThrowExpression updatedNode; 17054public override TreeDumperNode VisitThrowExpression(BoundThrowExpression node, object? arg) => new TreeDumperNode("throwExpression", null, new TreeDumperNode[]
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
1027public override BoundNode VisitThrowExpression(BoundThrowExpression node)
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (2)
453var operand = (BoundThrowExpression)rewrittenOperand;
Lowering\SpillSequenceSpiller.cs (1)
1474public override BoundNode VisitThrowExpression(BoundThrowExpression node)
Operations\CSharpOperationFactory.cs (2)
147return CreateBoundThrowExpressionOperation((BoundThrowExpression)boundNode); 1678private IThrowOperation CreateBoundThrowExpressionOperation(BoundThrowExpression boundThrowExpression)