1 write to Locals
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5848this.Locals = locals;
31 references to Locals
Microsoft.CodeAnalysis.CSharp (31)
CodeGen\EmitAddress.cs (1)
400if (symbol.RefKind == RefKind.None && topSequence.Locals.Contains(symbol))
CodeGen\EmitExpression.cs (7)
905if (sequence.Locals.IsEmpty) 912foreach (var local in sequence.Locals) 920if (sequence.Locals.IsEmpty) 927foreach (var local in sequence.Locals) 939if (sequence.Locals.IsEmpty) 946foreach (var local in sequence.Locals) 960if (sequence.Locals.IsEmpty)
CodeGen\EmitStatement.cs (1)
1161Debug.Assert(seq.Locals.IsDefaultOrEmpty);
CodeGen\Optimizer.cs (3)
691var locals = node.Locals; 743return node.Update(node.Locals, 905BoundExpression rewritten = sequence.Update(sequence.Locals,
FlowAnalysis\DefiniteAssignment.cs (2)
2255DeclareVariables(node.Locals); 2257ReportUnusedVariables(node.Locals);
Generated\BoundNodes.xml.Generated.cs (4)
5863if (locals != this.Locals || sideEffects != this.SideEffects || value != this.Value || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 12095ImmutableArray<LocalSymbol> locals = this.VisitLocals(node.Locals); 14247ImmutableArray<LocalSymbol> locals = GetUpdatedArray(node, node.Locals); 16815new TreeDumperNode("locals", node.Locals, null),
Lowering\ClosureConversion\ClosureConversion.Analysis.Tree.cs (1)
437PushOrReuseScope(node, node.Locals);
Lowering\ClosureConversion\ClosureConversion.cs (1)
1151RewriteLocals(node.Locals, newLocals);
Lowering\Instrumentation\DebugInfoInjector_SequencePoints.cs (1)
218Locals: [{ SynthesizedKind: SynthesizedLocalKind.ConditionalBranchDiscriminator } local],
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
275sequence.Locals,
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (1)
1641seq.Locals,
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
1390seq.Locals,
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (1)
273temps.AddRange(sequence.Locals);
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
336seq.Locals,
Lowering\SpillSequenceSpiller.cs (4)
341PromoteAndAddLocals(builder, sequence.Locals); 544Locals.IsEmpty: true, 1543return node.Update(node.Locals, sideEffects, value, node.Type); 1551PromoteAndAddLocals(builder, node.Locals);
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (1)
415AddVariables(node.Locals);