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