1 write to Locals
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
3922this.Locals = locals;
27 references to Locals
Microsoft.CodeAnalysis.CSharp (27)
Binder\RefSafetyAnalysis.cs (2)
381using var _ = new LocalScope(this, node.Locals); 387using var _ = new LocalScope(this, node.Locals);
BoundTree\BoundNode.cs (4)
635AddAll(node.Locals); 637RemoveAll(node.Locals); 643AddAll(node.Locals); 645RemoveAll(node.Locals);
FlowAnalysis\DefiniteAssignment.cs (4)
2235DeclareVariables(node.Locals); 2237ReportUnusedVariables(node.Locals); 2243DeclareVariables(node.Locals); 2245ReportUnusedVariables(node.Locals);
FlowAnalysis\NullableWalker.cs (2)
3373DeclareLocals(node.Locals); 3379DeclareLocals(node.Locals);
Generated\BoundNodes.xml.Generated.cs (8)
3952if (locals != this.Locals || condition != this.Condition || body != this.Body || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(breakLabel, this.BreakLabel) || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(continueLabel, this.ContinueLabel)) 3982if (locals != this.Locals || condition != this.Condition || body != this.Body || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(breakLabel, this.BreakLabel) || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(continueLabel, this.ContinueLabel)) 11371return node.Update(node.Locals, condition, body, node.BreakLabel, node.ContinueLabel); 11377return node.Update(node.Locals, condition, body, node.BreakLabel, node.ContinueLabel); 13404ImmutableArray<LocalSymbol> locals = GetUpdatedArray(node, node.Locals); 13412ImmutableArray<LocalSymbol> locals = GetUpdatedArray(node, node.Locals); 15839new TreeDumperNode("locals", node.Locals, null), 15849new TreeDumperNode("locals", node.Locals, null),
Lowering\LocalRewriter\LocalRewriter_DoStatement.cs (2)
55if (node.Locals.IsEmpty) 68node.Locals,
Lowering\LocalRewriter\LocalRewriter_WhileStatement.cs (1)
33node.Locals,
Lowering\MethodToClassRewriter.cs (2)
186var newLocals = RewriteLocals(node.Locals); 194var newLocals = RewriteLocals(node.Locals);
Operations\CSharpOperationFactory.cs (2)
1848ImmutableArray<ILocalSymbol> locals = boundWhileStatement.Locals.GetPublicSymbols(); 1866ImmutableArray<ILocalSymbol> locals = boundDoStatement.Locals.GetPublicSymbols();