1 write to Locals
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
3923this.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)
3434DeclareLocals(node.Locals); 3440DeclareLocals(node.Locals);
Generated\BoundNodes.xml.Generated.cs (8)
3953if (locals != this.Locals || condition != this.Condition || body != this.Body || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(breakLabel, this.BreakLabel) || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(continueLabel, this.ContinueLabel)) 3983if (locals != this.Locals || condition != this.Condition || body != this.Body || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(breakLabel, this.BreakLabel) || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(continueLabel, this.ContinueLabel)) 11408return node.Update(node.Locals, condition, body, node.BreakLabel, node.ContinueLabel); 11414return node.Update(node.Locals, condition, body, node.BreakLabel, node.ContinueLabel); 13441ImmutableArray<LocalSymbol> locals = GetUpdatedArray(node, node.Locals); 13449ImmutableArray<LocalSymbol> locals = GetUpdatedArray(node, node.Locals); 15876new TreeDumperNode("locals", node.Locals, null), 15886new 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();