2 instantiations of BoundUsingStatement
Microsoft.CodeAnalysis.CSharp (2)
Binder\UsingStatementBinder.cs (1)
173return new BoundUsingStatement(
Generated\BoundNodes.xml.Generated.cs (1)
4170var result = new BoundUsingStatement(this.Syntax, locals, declarationsOpt, expressionOpt, body, awaitOpt, patternDisposeInfoOpt, this.HasErrors);
28 references to BoundUsingStatement
Microsoft.CodeAnalysis.CSharp (28)
Binder\RefSafetyAnalysis.cs (1)
400public override BoundNode? VisitUsingStatement(BoundUsingStatement node)
Binder\UsingStatementBinder.cs (1)
85Debug.Assert(boundUsingStatement is BoundUsingStatement);
BoundTree\BoundNode.cs (1)
670public override BoundNode? VisitUsingStatement(BoundUsingStatement node)
Compilation\MemberSemanticModel.cs (1)
949var awaitableInfo = (bound as BoundUsingStatement)?.AwaitOpt;
FlowAnalysis\AbstractFlowPass.cs (1)
3418public override BoundNode VisitUsingStatement(BoundUsingStatement node)
FlowAnalysis\DefiniteAssignment.cs (1)
2216public override BoundNode VisitUsingStatement(BoundUsingStatement node)
FlowAnalysis\NullableWalker.cs (1)
3597public override BoundNode? VisitUsingStatement(BoundUsingStatement node)
Generated\BoundNodes.xml.Generated.cs (9)
4166public BoundUsingStatement Update(ImmutableArray<LocalSymbol> locals, BoundMultipleLocalDeclarations? declarationsOpt, BoundExpression? expressionOpt, BoundStatement body, BoundAwaitableInfo? awaitOpt, MethodArgumentInfo? patternDisposeInfoOpt) 4170var result = new BoundUsingStatement(this.Syntax, locals, declarationsOpt, expressionOpt, body, awaitOpt, patternDisposeInfoOpt, this.HasErrors); 9112return VisitUsingStatement((BoundUsingStatement)node, arg); 9477public virtual R VisitUsingStatement(BoundUsingStatement node, A arg) => this.DefaultVisit(node, arg); 9713public virtual BoundNode? VisitUsingStatement(BoundUsingStatement node) => this.DefaultVisit(node); 10260public override BoundNode? VisitUsingStatement(BoundUsingStatement node) 11547public override BoundNode? VisitUsingStatement(BoundUsingStatement node) 13652public override BoundNode? VisitUsingStatement(BoundUsingStatement node) 16096public override TreeDumperNode VisitUsingStatement(BoundUsingStatement node, object? arg) => new TreeDumperNode("usingStatement", null, new TreeDumperNode[]
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (3)
450public override BoundStatement InstrumentUsingTargetCapture(BoundUsingStatement original, BoundStatement usingTargetCapture) 543BoundUsingStatement usingStatement = (BoundUsingStatement)statement;
Lowering\Instrumentation\CompoundInstrumenter.cs (1)
203public override BoundStatement InstrumentUsingTargetCapture(BoundUsingStatement original, BoundStatement usingTargetCapture)
Lowering\Instrumentation\DebugInfoInjector.cs (1)
448public override BoundStatement InstrumentUsingTargetCapture(BoundUsingStatement original, BoundStatement usingTargetCapture)
Lowering\Instrumentation\Instrumenter.cs (1)
286public virtual BoundStatement InstrumentUsingTargetCapture(BoundUsingStatement original, BoundStatement usingTargetCapture)
Lowering\LocalRewriter\LocalRewriter_UsingStatement.cs (2)
35public override BoundNode VisitUsingStatement(BoundUsingStatement node) 108private BoundBlock MakeExpressionUsingStatement(BoundUsingStatement node, BoundBlock tryBlock)
Lowering\MethodToClassRewriter.cs (1)
84public override BoundNode VisitUsingStatement(BoundUsingStatement node)
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
605public override BoundNode VisitUsingStatement(BoundUsingStatement node)
Operations\CSharpOperationFactory.cs (2)
191return CreateBoundUsingStatementOperation((BoundUsingStatement)boundNode); 2020private IUsingOperation CreateBoundUsingStatementOperation(BoundUsingStatement boundUsingStatement)