1 write to LocalFunctions
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
3312
this.
LocalFunctions
= localFunctions;
17 references to LocalFunctions
Microsoft.CodeAnalysis.CSharp (17)
Compiler\MethodCompiler.cs (1)
1083
body = body.Update(body.Locals, body.
LocalFunctions
, body.HasUnsafeModifier, body.Instrumentation, body.Statements.Insert(insertAt, analyzedInitializers));
FlowAnalysis\DefiniteAssignment.cs (2)
2177
ReportUnusedVariables(node.
LocalFunctions
);
2189
if (!TrackingRegions && !block.
LocalFunctions
.IsDefaultOrEmpty)
FlowAnalysis\FlowAnalysisPass.cs (2)
162
return body.Update(body.Locals, body.
LocalFunctions
, body.HasUnsafeModifier, body.Instrumentation, body.Statements.Insert(index: 0, initializations));
204
return body.Update(body.Locals, body.
LocalFunctions
, body.HasUnsafeModifier, body.Instrumentation, body.Statements.Add(ret));
FlowAnalysis\NullableWalker.cs (1)
3207
if (!block.
LocalFunctions
.IsDefaultOrEmpty)
Generated\BoundNodes.xml.Generated.cs (4)
3327
if (locals != this.Locals || localFunctions != this.
LocalFunctions
|| hasUnsafeModifier != this.HasUnsafeModifier || instrumentation != this.Instrumentation || statements != this.Statements)
11359
ImmutableArray<MethodSymbol> localFunctions = this.VisitDeclaredLocalFunctions(node.
LocalFunctions
);
13534
ImmutableArray<MethodSymbol> localFunctions = GetUpdatedArray(node, node.
LocalFunctions
);
15888
new TreeDumperNode("localFunctions", node.
LocalFunctions
, null),
Lowering\BoundTreeToDifferentEnclosingContextRewriter.cs (1)
102
var newLocalFunctions = this.VisitDeclaredLocalFunctions(node.
LocalFunctions
);
Lowering\ClosureConversion\ClosureConversion.cs (1)
1195
return node.Update(newLocals.ToImmutableAndFree(), node.
LocalFunctions
, node.HasUnsafeModifier, newInstrumentation, newStatements.ToImmutableAndFree());
Lowering\ExtensionMethodBodyRewriter.cs (2)
120
if (!node.
LocalFunctions
.IsEmpty)
124
foreach (var localFunction in node.
LocalFunctions
)
Lowering\Instrumentation\DebugInfoInjector.cs (1)
126
return block.Update(block.Locals, block.
LocalFunctions
, block.HasUnsafeModifier, block.Instrumentation, ImmutableArray.Create(InstrumentFieldOrPropertyInitializer(block.Statements.Single(), syntax)));
Lowering\LocalRewriter\LocalRewriter.cs (1)
720
return block.Update(locals, block.
LocalFunctions
, block.HasUnsafeModifier, block.Instrumentation, ImmutableArray.Create(statement));
Lowering\LocalRewriter\LocalRewriter_Block.cs (1)
58
return new BoundBlock(node.Syntax, locals, node.
LocalFunctions
, node.HasUnsafeModifier, instrumentation, builder.ToImmutableAndFree(), node.HasErrors);