2 instantiations of BoundThrowExpression
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (1)
8581
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)
11957
public override BoundNode? VisitThrowExpression(
BoundThrowExpression
node)
Generated\BoundNodes.xml.Generated.cs (10)
8577
public
BoundThrowExpression
Update(BoundExpression expression, TypeSymbol? type)
8581
var
result = new BoundThrowExpression(this.Syntax, expression, type, this.HasErrors);
9282
return VisitThrowExpression((
BoundThrowExpression
)node, arg);
9529
public virtual R VisitThrowExpression(
BoundThrowExpression
node, A arg) => this.DefaultVisit(node, arg);
9765
public virtual BoundNode? VisitThrowExpression(
BoundThrowExpression
node) => this.DefaultVisit(node);
10756
public override BoundNode? VisitThrowExpression(
BoundThrowExpression
node)
12165
public override BoundNode? VisitThrowExpression(
BoundThrowExpression
node)
14843
public override BoundNode? VisitThrowExpression(
BoundThrowExpression
node)
14846
BoundThrowExpression
updatedNode;
17054
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)