2 references to s_poolWithConcurrent
Microsoft.CodeAnalysis.CSharp (2)
Binder\BindingDiagnosticBag.cs (2)
18
private static readonly ObjectPool<BindingDiagnosticBag> s_poolWithConcurrent = new ObjectPool<BindingDiagnosticBag>(() => new BindingDiagnosticBag(
s_poolWithConcurrent
!, new DiagnosticBag(), new Roslyn.Utilities.ConcurrentSet<AssemblySymbol>()));
71
return
s_poolWithConcurrent
.Allocate();