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