2 references to s_poolWithDiagnosticsOnly
Microsoft.CodeAnalysis.CSharp (2)
Binder\BindingDiagnosticBag.cs (2)
16
private static readonly ObjectPool<BindingDiagnosticBag> s_poolWithDiagnosticsOnly = new ObjectPool<BindingDiagnosticBag>(() => new BindingDiagnosticBag(
s_poolWithDiagnosticsOnly
!, new DiagnosticBag(), dependenciesBag: null));
49
return
s_poolWithDiagnosticsOnly
.Allocate();