1 write to Locals
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
3923
this.
Locals
= locals;
27 references to Locals
Microsoft.CodeAnalysis.CSharp (27)
Binder\RefSafetyAnalysis.cs (2)
381
using var _ = new LocalScope(this, node.
Locals
);
387
using var _ = new LocalScope(this, node.
Locals
);
BoundTree\BoundNode.cs (4)
635
AddAll(node.
Locals
);
637
RemoveAll(node.
Locals
);
643
AddAll(node.
Locals
);
645
RemoveAll(node.
Locals
);
FlowAnalysis\DefiniteAssignment.cs (4)
2235
DeclareVariables(node.
Locals
);
2237
ReportUnusedVariables(node.
Locals
);
2243
DeclareVariables(node.
Locals
);
2245
ReportUnusedVariables(node.
Locals
);
FlowAnalysis\NullableWalker.cs (2)
3434
DeclareLocals(node.
Locals
);
3440
DeclareLocals(node.
Locals
);
Generated\BoundNodes.xml.Generated.cs (8)
3953
if (locals != this.
Locals
|| condition != this.Condition || body != this.Body || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(breakLabel, this.BreakLabel) || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(continueLabel, this.ContinueLabel))
3983
if (locals != this.
Locals
|| condition != this.Condition || body != this.Body || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(breakLabel, this.BreakLabel) || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(continueLabel, this.ContinueLabel))
11408
return node.Update(node.
Locals
, condition, body, node.BreakLabel, node.ContinueLabel);
11414
return node.Update(node.
Locals
, condition, body, node.BreakLabel, node.ContinueLabel);
13441
ImmutableArray<LocalSymbol> locals = GetUpdatedArray(node, node.
Locals
);
13449
ImmutableArray<LocalSymbol> locals = GetUpdatedArray(node, node.
Locals
);
15876
new TreeDumperNode("locals", node.
Locals
, null),
15886
new TreeDumperNode("locals", node.
Locals
, null),
Lowering\LocalRewriter\LocalRewriter_DoStatement.cs (2)
55
if (node.
Locals
.IsEmpty)
68
node.
Locals
,
Lowering\LocalRewriter\LocalRewriter_WhileStatement.cs (1)
33
node.
Locals
,
Lowering\MethodToClassRewriter.cs (2)
186
var newLocals = RewriteLocals(node.
Locals
);
194
var newLocals = RewriteLocals(node.
Locals
);
Operations\CSharpOperationFactory.cs (2)
1848
ImmutableArray<ILocalSymbol> locals = boundWhileStatement.
Locals
.GetPublicSymbols();
1866
ImmutableArray<ILocalSymbol> locals = boundDoStatement.
Locals
.GetPublicSymbols();