1 write to LocalFunctions
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
3202
this.
LocalFunctions
= localFunctions;
17 references to LocalFunctions
Microsoft.CodeAnalysis.CSharp (15)
Compiler\MethodCompiler.cs (1)
1105
body = body.Update(body.Locals, body.
LocalFunctions
, body.HasUnsafeModifier, body.Instrumentation, body.Statements.Insert(insertAt, analyzedInitializers));
FlowAnalysis\DefiniteAssignment.cs (2)
1994
ReportUnusedVariables(node.
LocalFunctions
);
2006
if (!TrackingRegions && !block.
LocalFunctions
.IsDefaultOrEmpty)
FlowAnalysis\FlowAnalysisPass.cs (2)
142
return body.Update(body.Locals, body.
LocalFunctions
, body.HasUnsafeModifier, body.Instrumentation, body.Statements.Insert(index: 0, initializations));
184
return body.Update(body.Locals, body.
LocalFunctions
, body.HasUnsafeModifier, body.Instrumentation, body.Statements.Add(ret));
FlowAnalysis\NullableWalker.cs (1)
2987
if (!TrackingRegions && !block.
LocalFunctions
.IsDefaultOrEmpty)
Generated\BoundNodes.xml.Generated.cs (4)
3217
if (locals != this.Locals || localFunctions != this.
LocalFunctions
|| hasUnsafeModifier != this.HasUnsafeModifier || instrumentation != this.Instrumentation || statements != this.Statements)
10892
return node.Update(node.Locals, node.
LocalFunctions
, node.HasUnsafeModifier, instrumentation, statements);
12887
ImmutableArray<LocalFunctionSymbol> localFunctions = GetUpdatedArray(node, node.
LocalFunctions
);
15149
new TreeDumperNode("localFunctions", node.
LocalFunctions
, null),
Lowering\ClosureConversion\ClosureConversion.cs (1)
1179
return node.Update(newLocals.ToImmutableAndFree(), node.
LocalFunctions
, node.HasUnsafeModifier, newInstrumentation, newStatements.ToImmutableAndFree());
Lowering\Instrumentation\DebugInfoInjector.cs (1)
86
return block.Update(block.Locals, block.
LocalFunctions
, block.HasUnsafeModifier, block.Instrumentation, ImmutableArray.Create(InstrumentFieldOrPropertyInitializer(block.Statements.Single(), syntax)));
Lowering\LocalRewriter\LocalRewriter.cs (1)
625
statements.Add(block.Update(block.Locals, block.
LocalFunctions
, block.HasUnsafeModifier, block.Instrumentation, ImmutableArray.Create(statement)));
Lowering\LocalRewriter\LocalRewriter_Block.cs (1)
42
return new BoundBlock(node.Syntax, node.Locals.AddRange(additionalLocals), node.
LocalFunctions
, node.HasUnsafeModifier, instrumentation, builder.ToImmutableAndFree(), node.HasErrors);
Lowering\MethodToClassRewriter.cs (1)
156
var newLocalFunctions = node.
LocalFunctions
;
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (2)
Rewriters\CapturedVariableRewriter.cs (1)
49
var rewrittenLocalFunctions = node.
LocalFunctions
;
Symbols\EEMethodSymbol.cs (1)
697
body = block.Update(localBuilder.ToImmutableAndFree(), block.
LocalFunctions
, block.HasUnsafeModifier, instrumentation: null, block.Statements);