1 write to DeclarationsOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4126
this.
DeclarationsOpt
= declarationsOpt;
15 references to DeclarationsOpt
Microsoft.CodeAnalysis.CSharp (15)
Binder\RefSafetyAnalysis.cs (1)
343
this.Visit(node.
DeclarationsOpt
);
FlowAnalysis\AbstractFlowPass.cs (2)
3389
if (node.
DeclarationsOpt
!= null)
3391
VisitStatement(node.
DeclarationsOpt
);
Generated\BoundNodes.xml.Generated.cs (5)
4145
if (locals != this.Locals || declarationsOpt != this.
DeclarationsOpt
|| expressionOpt != this.ExpressionOpt || body != this.Body || awaitOpt != this.AwaitOpt || patternDisposeInfoOpt != this.PatternDisposeInfoOpt)
10194
this.Visit(node.
DeclarationsOpt
);
11407
BoundMultipleLocalDeclarations? declarationsOpt = (BoundMultipleLocalDeclarations?)this.Visit(node.
DeclarationsOpt
);
13446
BoundMultipleLocalDeclarations? declarationsOpt = (BoundMultipleLocalDeclarations?)this.Visit(node.
DeclarationsOpt
);
15897
new TreeDumperNode("declarationsOpt", null, new TreeDumperNode[] { Visit(node.
DeclarationsOpt
, null) }),
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (1)
544
syntaxForSpan = ((BoundNode?)usingStatement.ExpressionOpt ?? usingStatement.
DeclarationsOpt
)!.Syntax;
Lowering\LocalRewriter\LocalRewriter_UsingStatement.cs (3)
50
Debug.Assert(node.
DeclarationsOpt
is { });
55
node.
DeclarationsOpt
.LocalDeclarations,
111
Debug.Assert(node.
DeclarationsOpt
== null);
Lowering\MethodToClassRewriter.cs (1)
203
var declarations = (BoundMultipleLocalDeclarations?)this.Visit(node.
DeclarationsOpt
);
Operations\CSharpOperationFactory.cs (2)
2031
Debug.Assert((boundUsingStatement.
DeclarationsOpt
== null) != (boundUsingStatement.ExpressionOpt == null));
2033
IOperation resources = Create(boundUsingStatement.
DeclarationsOpt
?? (BoundNode)boundUsingStatement.ExpressionOpt!);