1 write to TrimOnFree
Microsoft.CodeAnalysis.Workspaces (1)
src\Dependencies\PooledObjects\ObjectPool`1.cs (1)
119
TrimOnFree
= trimOnFree;
4 references to TrimOnFree
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (2)
193
if (count > Threshold && pool.
TrimOnFree
)
243
if (count > Threshold && pool.
TrimOnFree
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\PooledObject.cs (2)
151
=> pool.ClearAndFree(obj, pool.
TrimOnFree
);
157
=> pool.ClearAndFree(obj, pool.
TrimOnFree
);