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