1 write to Locals
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5666this.Locals = locals;
14 references to Locals
Microsoft.CodeAnalysis.CSharp (14)
Binder\RefSafetyAnalysis.cs (1)
419using 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)
606AddAll(node.Locals); 608RemoveAll(node.Locals);
FlowAnalysis\DefiniteAssignment.cs (1)
2174DeclareVariables(node.Locals);
FlowAnalysis\NullableWalker_Patterns.cs (1)
255DeclareLocals(section.Locals);
Generated\BoundNodes.xml.Generated.cs (4)
5678if (locals != this.Locals || switchLabels != this.SwitchLabels || statements != this.Statements) 11655return node.Update(node.Locals, switchLabels, statements); 13723ImmutableArray<LocalSymbol> locals = GetUpdatedArray(node, node.Locals); 16250new 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)
2636ImmutableArray<ILocalSymbol> locals = boundSwitchSection.Locals.GetPublicSymbols();