2 references to s_poolWithBoth
Microsoft.CodeAnalysis.CSharp (2)
Binder\BindingDiagnosticBag.cs (2)
15
private static readonly ObjectPool<BindingDiagnosticBag> s_poolWithBoth = new ObjectPool<BindingDiagnosticBag>(() => new BindingDiagnosticBag(
s_poolWithBoth
!, new DiagnosticBag(), new HashSet<AssemblySymbol>()));
37
return
s_poolWithBoth
.Allocate();