3 instantiations of BoundThrowStatement
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Statements.cs (1)
458return new BoundThrowStatement(node, boundExpr, hasErrors);
Generated\BoundNodes.xml.Generated.cs (1)
3547var result = new BoundThrowStatement(this.Syntax, expressionOpt, this.HasErrors);
Lowering\SyntheticBoundNodeFactory.cs (1)
914return new BoundThrowStatement(Syntax, e) { WasCompilerGenerated = true };
27 references to BoundThrowStatement
Microsoft.CodeAnalysis.CSharp (27)
BoundTree\BoundNode_Source.cs (1)
59case BoundThrowStatement throwStatement:
BoundTree\BoundTreeVisitors.cs (1)
84return VisitThrowStatement(node as BoundThrowStatement, arg);
CodeGen\EmitStatement.cs (2)
84EmitThrowStatement((BoundThrowStatement)statement); 167private void EmitThrowStatement(BoundThrowStatement node)
FlowAnalysis\AbstractFlowPass.cs (1)
3226public override BoundNode VisitThrowStatement(BoundThrowStatement node)
FlowAnalysis\NullableWalker.cs (1)
11048public override BoundNode? VisitThrowStatement(BoundThrowStatement node)
Generated\BoundNodes.xml.Generated.cs (8)
3543public BoundThrowStatement Update(BoundExpression? expressionOpt) 3547var result = new BoundThrowStatement(this.Syntax, expressionOpt, this.HasErrors); 8697return VisitThrowStatement((BoundThrowStatement)node, arg); 9061public virtual R VisitThrowStatement(BoundThrowStatement node, A arg) => this.DefaultVisit(node, arg); 9289public virtual BoundNode? VisitThrowStatement(BoundThrowStatement node) => this.DefaultVisit(node); 9768public override BoundNode? VisitThrowStatement(BoundThrowStatement node) 10940public override BoundNode? VisitThrowStatement(BoundThrowStatement node) 15224public override TreeDumperNode VisitThrowStatement(BoundThrowStatement node, object? arg) => new TreeDumperNode("throwStatement", null, new TreeDumperNode[]
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (1)
662public override BoundNode VisitThrowStatement(BoundThrowStatement node)
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (1)
349public override BoundStatement InstrumentThrowStatement(BoundThrowStatement original, BoundStatement rewritten)
Lowering\Instrumentation\CompoundInstrumenter.cs (1)
52public override BoundStatement InstrumentThrowStatement(BoundThrowStatement original, BoundStatement rewritten)
Lowering\Instrumentation\DebugInfoInjector.cs (1)
122public override BoundStatement InstrumentThrowStatement(BoundThrowStatement original, BoundStatement rewritten)
Lowering\Instrumentation\Instrumenter.cs (1)
80public virtual BoundStatement InstrumentThrowStatement(BoundThrowStatement original, BoundStatement rewritten)
Lowering\LocalRewriter\LocalRewriter_ThrowStatement.cs (1)
9public override BoundNode VisitThrowStatement(BoundThrowStatement node)
Lowering\SpillSequenceSpiller.cs (1)
599public override BoundNode VisitThrowStatement(BoundThrowStatement node)
Lowering\SyntheticBoundNodeFactory.cs (1)
912public BoundThrowStatement Throw(BoundExpression e)
Operations\CSharpOperationFactory.cs (2)
189return CreateBoundThrowStatementOperation((BoundThrowStatement)boundNode); 1936private IThrowOperation CreateBoundThrowStatementOperation(BoundThrowStatement boundThrowStatement)
Symbols\Synthesized\SynthesizedParameterlessThrowMethod.cs (1)
33var body = F.Throw(F.New(_exceptionConstructor, ImmutableArray<BoundExpression>.Empty));
Symbols\Synthesized\SynthesizedThrowMethod.cs (1)
32var body = F.Throw(F.New(F.WellKnownMethod(WellKnownMember.System_ArgumentNullException__ctorString), ImmutableArray.Create<BoundExpression>(F.Parameter(paramName))));
Symbols\Synthesized\SynthesizedThrowSwitchExpressionExceptionMethod.cs (1)
34var body = F.Throw(F.New(F.WellKnownMethod(WellKnownMember.System_Runtime_CompilerServices_SwitchExpressionException__ctorObject), ImmutableArray.Create<BoundExpression>(F.Parameter(unmatchedValue))));