2 instantiations of BoundThrowExpression
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (1)
8617var 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)
12018public override BoundNode? VisitThrowExpression(BoundThrowExpression node)
Generated\BoundNodes.xml.Generated.cs (10)
8613public BoundThrowExpression Update(BoundExpression expression, TypeSymbol? type) 8617var result = new BoundThrowExpression(this.Syntax, expression, type, this.HasErrors); 9318return VisitThrowExpression((BoundThrowExpression)node, arg); 9565public virtual R VisitThrowExpression(BoundThrowExpression node, A arg) => this.DefaultVisit(node, arg); 9801public virtual BoundNode? VisitThrowExpression(BoundThrowExpression node) => this.DefaultVisit(node); 10792public override BoundNode? VisitThrowExpression(BoundThrowExpression node) 12201public override BoundNode? VisitThrowExpression(BoundThrowExpression node) 14879public override BoundNode? VisitThrowExpression(BoundThrowExpression node) 14882BoundThrowExpression updatedNode; 17090public 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)