1 write to Locals
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5775this.Locals = locals;
36 references to Locals
Microsoft.CodeAnalysis.CSharp (36)
BoundTree\BoundNode.cs (2)
595AddAll(node.Locals); 597RemoveAll(node.Locals);
CodeGen\EmitAddress.cs (1)
360if (topSequence.Locals.Contains(symbol))
CodeGen\EmitExpression.cs (7)
871if (sequence.Locals.IsEmpty) 878foreach (var local in sequence.Locals) 886if (sequence.Locals.IsEmpty) 893foreach (var local in sequence.Locals) 905if (sequence.Locals.IsEmpty) 912foreach (var local in sequence.Locals) 926if (sequence.Locals.IsEmpty)
CodeGen\EmitStatement.cs (1)
1138Debug.Assert(seq.Locals.IsDefaultOrEmpty);
CodeGen\Optimizer.cs (3)
692var locals = node.Locals; 744return node.Update(node.Locals, 906BoundExpression rewritten = sequence.Update(sequence.Locals,
FlowAnalysis\DefiniteAssignment.cs (2)
2281DeclareVariables(node.Locals); 2283ReportUnusedVariables(node.Locals);
Generated\BoundNodes.xml.Generated.cs (4)
5790if (locals != this.Locals || sideEffects != this.SideEffects || value != this.Value || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 11677return node.Update(node.Locals, sideEffects, value, type); 13751ImmutableArray<LocalSymbol> locals = GetUpdatedArray(node, node.Locals); 16277new TreeDumperNode("locals", node.Locals, null),
Lowering\ClosureConversion\ClosureConversion.Analysis.Tree.cs (1)
437PushOrReuseScope(node, node.Locals);
Lowering\ClosureConversion\ClosureConversion.cs (1)
1136RewriteLocals(node.Locals, newLocals);
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
244sequence.Locals,
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (1)
1622seq.Locals,
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
1319seq.Locals,
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (1)
240temps.AddRange(sequence.Locals);
Lowering\LocalRewriter\LocalRewriter_StringConcat.cs (2)
228locals.AddAll(sequence.Locals); 242Locals.Length: 0,
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
335seq.Locals,
Lowering\MethodToClassRewriter.cs (1)
166var newLocals = RewriteLocals(node.Locals);
Lowering\SpillSequenceSpiller.cs (4)
341PromoteAndAddLocals(builder, sequence.Locals); 544Locals.IsEmpty: true, 1459return node.Update(node.Locals, sideEffects, value, node.Type); 1467PromoteAndAddLocals(builder, node.Locals);
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (1)
394AddVariables(node.Locals);
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
277foreach (var local in node.Locals)