2 instantiations of BoundUsingLocalDeclarations
Microsoft.CodeAnalysis.CSharp (2)
Binder\UsingStatementBinder.cs (1)
167return new BoundUsingLocalDeclarations(syntax, patternDisposeInfo, awaitOpt, declarationsOpt, hasErrors);
Generated\BoundNodes.xml.Generated.cs (1)
3497var result = new BoundUsingLocalDeclarations(this.Syntax, patternDisposeInfoOpt, awaitOpt, localDeclarations, this.HasErrors);
21 references to BoundUsingLocalDeclarations
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder_Statements.cs (1)
701Debug.Assert(usingDeclaration is BoundUsingLocalDeclarations);
Binder\RefSafetyAnalysis.cs (1)
361public override BoundNode? VisitUsingLocalDeclarations(BoundUsingLocalDeclarations node)
FlowAnalysis\AbstractFlowPass.cs (1)
2323public override BoundNode VisitUsingLocalDeclarations(BoundUsingLocalDeclarations node)
FlowAnalysis\DefiniteAssignment.cs (2)
439var localDeclaration = (BoundUsingLocalDeclarations)pendingBranch;
FlowAnalysis\NullableWalker.cs (1)
3425public override BoundNode? VisitUsingLocalDeclarations(BoundUsingLocalDeclarations node)
Generated\BoundNodes.xml.Generated.cs (8)
3493public BoundUsingLocalDeclarations Update(MethodArgumentInfo? patternDisposeInfoOpt, BoundAwaitableInfo? awaitOpt, ImmutableArray<BoundLocalDeclaration> localDeclarations) 3497var result = new BoundUsingLocalDeclarations(this.Syntax, patternDisposeInfoOpt, awaitOpt, localDeclarations, this.HasErrors); 9010return VisitUsingLocalDeclarations((BoundUsingLocalDeclarations)node, arg); 9393public virtual R VisitUsingLocalDeclarations(BoundUsingLocalDeclarations node, A arg) => this.DefaultVisit(node, arg); 9629public virtual BoundNode? VisitUsingLocalDeclarations(BoundUsingLocalDeclarations node) => this.DefaultVisit(node); 10102public override BoundNode? VisitUsingLocalDeclarations(BoundUsingLocalDeclarations node) 11312public override BoundNode? VisitUsingLocalDeclarations(BoundUsingLocalDeclarations node) 15747public override TreeDumperNode VisitUsingLocalDeclarations(BoundUsingLocalDeclarations node, object? arg) => new TreeDumperNode("usingLocalDeclarations", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter_Block.cs (3)
95/// Visits a node that is possibly a <see cref="BoundUsingLocalDeclarations"/> 100/// <param name="replacedLocalDeclarations">Set to true if this visited a <see cref="BoundUsingLocalDeclarations"/> node</param> 120return MakeLocalUsingDeclarationStatement((BoundUsingLocalDeclarations)node, builder.ToImmutableAndFree());
Lowering\LocalRewriter\LocalRewriter_MultipleLocalDeclarations.cs (1)
19public override BoundNode? VisitUsingLocalDeclarations(BoundUsingLocalDeclarations node)
Lowering\LocalRewriter\LocalRewriter_UsingStatement.cs (1)
89private BoundStatement MakeLocalUsingDeclarationStatement(BoundUsingLocalDeclarations usingDeclarations, ImmutableArray<BoundStatement> statements)
Operations\CSharpOperationFactory.cs (2)
2168bool isImplicit = declarationGroupSyntax == declarationSyntax || boundMultipleLocalDeclarations.WasCompilerGenerated || boundMultipleLocalDeclarations is BoundUsingLocalDeclarations; 2171if (boundMultipleLocalDeclarations is BoundUsingLocalDeclarations usingDecl)