3 references to RoslynLogBlock
Microsoft.CodeAnalysis.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\Logger.LogBlock.cs (3)
17private static readonly ObjectPool<RoslynLogBlock> s_pool = new(() => new RoslynLogBlock(s_pool!), Math.Min(Environment.ProcessorCount * 8, 256)); 23var block = s_pool.Allocate(); 32private sealed class RoslynLogBlock(ObjectPool<RoslynLogBlock> pool) : IDisposable