1 write to Locals
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
3811this.Locals = locals;
27 references to Locals
Microsoft.CodeAnalysis.CSharp (27)
Binder\RefSafetyAnalysis.cs (2)
334using var _ = new LocalScope(this, node.Locals); 340using var _ = new LocalScope(this, node.Locals);
BoundTree\BoundNode.cs (4)
573AddAll(node.Locals); 575RemoveAll(node.Locals); 581AddAll(node.Locals); 583RemoveAll(node.Locals);
FlowAnalysis\DefiniteAssignment.cs (4)
2079DeclareVariables(node.Locals); 2081ReportUnusedVariables(node.Locals); 2087DeclareVariables(node.Locals); 2089ReportUnusedVariables(node.Locals);
FlowAnalysis\NullableWalker.cs (2)
3174DeclareLocals(node.Locals); 3180DeclareLocals(node.Locals);
Generated\BoundNodes.xml.Generated.cs (8)
3841if (locals != this.Locals || condition != this.Condition || body != this.Body || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(breakLabel, this.BreakLabel) || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(continueLabel, this.ContinueLabel)) 3871if (locals != this.Locals || condition != this.Condition || body != this.Body || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(breakLabel, this.BreakLabel) || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(continueLabel, this.ContinueLabel)) 10976return node.Update(node.Locals, condition, body, node.BreakLabel, node.ContinueLabel); 10982return node.Update(node.Locals, condition, body, node.BreakLabel, node.ContinueLabel); 12937ImmutableArray<LocalSymbol> locals = GetUpdatedArray(node, node.Locals); 12945ImmutableArray<LocalSymbol> locals = GetUpdatedArray(node, node.Locals); 15279new TreeDumperNode("locals", node.Locals, null), 15289new 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)
1741ImmutableArray<ILocalSymbol> locals = boundWhileStatement.Locals.GetPublicSymbols(); 1759ImmutableArray<ILocalSymbol> locals = boundDoStatement.Locals.GetPublicSymbols();