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