3 references to GetPooledFunction
Microsoft.CodeAnalysis.Features (1)
Completion\CompletionService.ProviderManager.cs (1)
160
using var _ = PooledDelegates.
GetPooledFunction
(static (p, n) => p.Name == n, item.ProviderName, out Func<CompletionProvider, bool> isNameMatchingProviderPredicate);
Microsoft.CodeAnalysis.Workspaces (2)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentDictionaryExtensions.cs (2)
37
using var _ = PooledDelegates.
GetPooledFunction
(valueFactory, factoryArgument, out var boundFunction);
55
using var _a = PooledDelegates.
GetPooledFunction
(addValueFactory, factoryArgument, out var pooledAddValueFactory);