5 references to AllocateAndClear
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\StringBuilderPool.cs (1)
12
=> SharedPools.Default<StringBuilder>().
AllocateAndClear
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\PooledObject.cs (1)
110
=> pool.
AllocateAndClear
();
Microsoft.VisualStudio.LanguageServices (3)
Library\ObjectBrowser\AbstractObjectBrowserLibraryManager.cs (2)
366
var namespaceName = SharedPools.Default<StringBuilder>().
AllocateAndClear
();
367
var className = SharedPools.Default<StringBuilder>().
AllocateAndClear
();
Library\VsNavInfo\NavInfoFactory.cs (1)
196
var builder = SharedPools.Default<StringBuilder>().
AllocateAndClear
();