2 instantiations of BoundUsingLocalDeclarations
Microsoft.CodeAnalysis.CSharp (2)
Binder\UsingStatementBinder.cs (1)
167
return new
BoundUsingLocalDeclarations
(syntax, patternDisposeInfo, awaitOpt, declarationsOpt, hasErrors);
Generated\BoundNodes.xml.Generated.cs (1)
3497
var result = new
BoundUsingLocalDeclarations
(this.Syntax, patternDisposeInfoOpt, awaitOpt, localDeclarations, this.HasErrors);
21 references to BoundUsingLocalDeclarations
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder_Statements.cs (1)
701
Debug.Assert(usingDeclaration is
BoundUsingLocalDeclarations
);
Binder\RefSafetyAnalysis.cs (1)
361
public override BoundNode? VisitUsingLocalDeclarations(
BoundUsingLocalDeclarations
node)
FlowAnalysis\AbstractFlowPass.cs (1)
2323
public override BoundNode VisitUsingLocalDeclarations(
BoundUsingLocalDeclarations
node)
FlowAnalysis\DefiniteAssignment.cs (2)
439
var
localDeclaration = (
BoundUsingLocalDeclarations
)pendingBranch;
FlowAnalysis\NullableWalker.cs (1)
3425
public override BoundNode? VisitUsingLocalDeclarations(
BoundUsingLocalDeclarations
node)
Generated\BoundNodes.xml.Generated.cs (8)
3493
public
BoundUsingLocalDeclarations
Update(MethodArgumentInfo? patternDisposeInfoOpt, BoundAwaitableInfo? awaitOpt, ImmutableArray<BoundLocalDeclaration> localDeclarations)
3497
var
result = new BoundUsingLocalDeclarations(this.Syntax, patternDisposeInfoOpt, awaitOpt, localDeclarations, this.HasErrors);
9010
return VisitUsingLocalDeclarations((
BoundUsingLocalDeclarations
)node, arg);
9393
public virtual R VisitUsingLocalDeclarations(
BoundUsingLocalDeclarations
node, A arg) => this.DefaultVisit(node, arg);
9629
public virtual BoundNode? VisitUsingLocalDeclarations(
BoundUsingLocalDeclarations
node) => this.DefaultVisit(node);
10102
public override BoundNode? VisitUsingLocalDeclarations(
BoundUsingLocalDeclarations
node)
11312
public override BoundNode? VisitUsingLocalDeclarations(
BoundUsingLocalDeclarations
node)
15747
public 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>
120
return MakeLocalUsingDeclarationStatement((
BoundUsingLocalDeclarations
)node, builder.ToImmutableAndFree());
Lowering\LocalRewriter\LocalRewriter_MultipleLocalDeclarations.cs (1)
19
public override BoundNode? VisitUsingLocalDeclarations(
BoundUsingLocalDeclarations
node)
Lowering\LocalRewriter\LocalRewriter_UsingStatement.cs (1)
89
private BoundStatement MakeLocalUsingDeclarationStatement(
BoundUsingLocalDeclarations
usingDeclarations, ImmutableArray<BoundStatement> statements)
Operations\CSharpOperationFactory.cs (2)
2168
bool isImplicit = declarationGroupSyntax == declarationSyntax || boundMultipleLocalDeclarations.WasCompilerGenerated || boundMultipleLocalDeclarations is
BoundUsingLocalDeclarations
;
2171
if (boundMultipleLocalDeclarations is
BoundUsingLocalDeclarations
usingDecl)