3 instantiations of BoundThrowStatement
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Statements.cs (1)
461
return new
BoundThrowStatement
(node, boundExpr, hasErrors);
Generated\BoundNodes.xml.Generated.cs (1)
3716
var result = new
BoundThrowStatement
(this.Syntax, expressionOpt, this.HasErrors);
Lowering\SyntheticBoundNodeFactory.cs (1)
1037
return new
BoundThrowStatement
(Syntax, e) { WasCompilerGenerated = true };
28 references to BoundThrowStatement
Microsoft.CodeAnalysis.CSharp (28)
BoundTree\BoundTreeVisitors.cs (1)
84
return VisitThrowStatement(node as
BoundThrowStatement
, arg);
CodeGen\EmitStatement.cs (2)
84
EmitThrowStatement((
BoundThrowStatement
)statement);
167
private void EmitThrowStatement(
BoundThrowStatement
node)
FlowAnalysis\AbstractFlowPass.cs (1)
3466
public override BoundNode VisitThrowStatement(
BoundThrowStatement
node)
FlowAnalysis\NullableWalker.cs (1)
13738
public override BoundNode? VisitThrowStatement(
BoundThrowStatement
node)
Generated\BoundNodes.xml.Generated.cs (8)
3712
public
BoundThrowStatement
Update(BoundExpression? expressionOpt)
3716
var
result = new BoundThrowStatement(this.Syntax, expressionOpt, this.HasErrors);
9270
return VisitThrowStatement((
BoundThrowStatement
)node, arg);
9656
public virtual R VisitThrowStatement(
BoundThrowStatement
node, A arg) => this.DefaultVisit(node, arg);
9897
public virtual BoundNode? VisitThrowStatement(
BoundThrowStatement
node) => this.DefaultVisit(node);
10399
public override BoundNode? VisitThrowStatement(
BoundThrowStatement
node)
11696
public override BoundNode? VisitThrowStatement(
BoundThrowStatement
node)
16313
public override TreeDumperNode VisitThrowStatement(
BoundThrowStatement
node, object? arg) => new TreeDumperNode("throwStatement", null, new TreeDumperNode[]
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (1)
766
public override BoundNode VisitThrowStatement(
BoundThrowStatement
node)
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (1)
349
public override BoundStatement InstrumentThrowStatement(
BoundThrowStatement
original, BoundStatement rewritten)
Lowering\Instrumentation\CompoundInstrumenter.cs (1)
54
public override BoundStatement InstrumentThrowStatement(
BoundThrowStatement
original, BoundStatement rewritten)
Lowering\Instrumentation\DebugInfoInjector.cs (1)
163
public override BoundStatement InstrumentThrowStatement(
BoundThrowStatement
original, BoundStatement rewritten)
Lowering\Instrumentation\Instrumenter.cs (1)
81
public virtual BoundStatement InstrumentThrowStatement(
BoundThrowStatement
original, BoundStatement rewritten)
Lowering\LocalRewriter\LocalRewriter_PatternSwitchStatement.cs (1)
202
BoundThrowStatement
throwStmt;
Lowering\LocalRewriter\LocalRewriter_ThrowStatement.cs (1)
9
public override BoundNode VisitThrowStatement(
BoundThrowStatement
node)
Lowering\SpillSequenceSpiller.cs (1)
718
public override BoundNode VisitThrowStatement(
BoundThrowStatement
node)
Lowering\SyntheticBoundNodeFactory.cs (1)
1035
public
BoundThrowStatement
Throw(BoundExpression e)
Operations\CSharpOperationFactory.cs (2)
192
return CreateBoundThrowStatementOperation((
BoundThrowStatement
)boundNode);
2132
private IThrowOperation CreateBoundThrowStatementOperation(
BoundThrowStatement
boundThrowStatement)
Symbols\Synthesized\SynthesizedParameterlessThrowMethod.cs (2)
33
var
body = GenerateThrow(F, _exceptionConstructor);
45
public static
BoundThrowStatement
GenerateThrow(SyntheticBoundNodeFactory f, MethodSymbol exceptionConstructor)
Symbols\Synthesized\SynthesizedThrowSwitchExpressionExceptionMethod.cs (2)
35
var
body = GenerateThrow(F, F.Parameter(unmatchedValue));
47
public static
BoundThrowStatement
GenerateThrow(SyntheticBoundNodeFactory f, BoundExpression unmatchedValue)