1 instantiation of ConcurrentSet
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Rpc\RpcServer.cs (1)
61
var runningTasks = new
ConcurrentSet
<Task>();
17 references to ConcurrentSet
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (17)
Rpc\RpcServer.cs (1)
61
var
runningTasks = new ConcurrentSet<Task>();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (9)
82
public static PooledObject<
ConcurrentSet
<T>> GetPooledObject<T>(this ObjectPool<
ConcurrentSet
<T>> pool, out
ConcurrentSet
<T> set)
85
var pooledObject = PooledObject<
ConcurrentSet
<T>>.Create(pool);
125
public static
ConcurrentSet
<T> AllocateAndClear<T>(this ObjectPool<
ConcurrentSet
<T>> pool) where T : notnull
127
var
set = pool.Allocate();
219
public static void ClearAndFree<T>(this ObjectPool<
ConcurrentSet
<T>> pool,
ConcurrentSet
<T> set) where T : notnull
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\PooledObject.cs (7)
73
public static PooledObject<
ConcurrentSet
<TItem>> Create<TItem>(ObjectPool<
ConcurrentSet
<TItem>> pool) where TItem : notnull
75
return new PooledObject<
ConcurrentSet
<TItem>>(
130
private static
ConcurrentSet
<TItem> Allocator<TItem>(ObjectPool<
ConcurrentSet
<TItem>> pool) where TItem : notnull
136
private static void Releaser<TItem>(ObjectPool<
ConcurrentSet
<TItem>> pool,
ConcurrentSet
<TItem> obj) where TItem : notnull