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