1 write to Locals
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5666
this.
Locals
= locals;
14 references to Locals
Microsoft.CodeAnalysis.CSharp (14)
Binder\RefSafetyAnalysis.cs (1)
411
using var _ = new LocalScope(this, node.
Locals
);
Binder\SwitchBinder_Patterns.cs (1)
131
sectionBuilder.Add(oldSection.Update(oldSection.
Locals
, labelBuilder.ToImmutableAndFree(), oldSection.Statements));
BoundTree\BoundNode.cs (2)
627
AddAll(node.
Locals
);
629
RemoveAll(node.
Locals
);
FlowAnalysis\DefiniteAssignment.cs (1)
2219
DeclareVariables(node.
Locals
);
FlowAnalysis\NullableWalker_Patterns.cs (1)
293
DeclareLocals(section.
Locals
);
Generated\BoundNodes.xml.Generated.cs (4)
5678
if (locals != this.
Locals
|| switchLabels != this.SwitchLabels || statements != this.Statements)
11657
return node.Update(node.
Locals
, switchLabels, statements);
13725
ImmutableArray<LocalSymbol> locals = GetUpdatedArray(node, node.
Locals
);
16252
new TreeDumperNode("locals", node.
Locals
, null),
Lowering\LocalRewriter\LocalRewriter_PatternSwitchStatement.cs (3)
147
if (section.
Locals
.IsEmpty)
155
outerVariables.AddRange(section.
Locals
);
159
result.Add(new BoundScope(section.Syntax, section.
Locals
, statements));
Operations\CSharpOperationFactory.cs (1)
2699
ImmutableArray<ILocalSymbol> locals = boundSwitchSection.
Locals
.GetPublicSymbols();