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