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