3 writes to LocalFunctions
Microsoft.CodeAnalysis (3)
Operations\ControlFlowGraphBuilder.RegionBuilder.cs (3)
102
LocalFunctions
= ArrayBuilder<(IMethodSymbol, ILocalFunctionOperation)>.GetInstance();
121
LocalFunctions
= ArrayBuilder<(IMethodSymbol, ILocalFunctionOperation)>.GetInstance();
291
LocalFunctions
= null;
12 references to LocalFunctions
Microsoft.CodeAnalysis (12)
Operations\ControlFlowGraphBuilder.cs (1)
559
region.AddRange(subRegion.
LocalFunctions
);
Operations\ControlFlowGraphBuilder.RegionBuilder.cs (11)
54
[MemberNotNullWhen(true, nameof(
LocalFunctions
))]
55
public bool HasLocalFunctions =>
LocalFunctions
?.Count > 0;
93
[MemberNotNull(nameof(
LocalFunctions
))]
100
if (
LocalFunctions
== null)
105
LocalFunctions
.Add((symbol, operation));
119
if (
LocalFunctions
== null)
124
LocalFunctions
.AddRange(others);
290
LocalFunctions
?.Free();
311
foreach ((IMethodSymbol method, IOperation _) in
LocalFunctions
)
339
LocalFunctions
?.SelectAsArray(((IMethodSymbol, ILocalFunctionOperation) tuple) => tuple.Item1) ?? default,
346
foreach ((IMethodSymbol method, ILocalFunctionOperation operation) in
LocalFunctions
)