1 instantiation of StringBuilderPool
NuGet.LibraryModel (1)
src\nuget-client\build\Shared\StringBuilderPool.cs (1)
29public static readonly StringBuilderPool Shared = new();
7 references to StringBuilderPool
NuGet.LibraryModel (7)
LibraryRange.cs (2)
86StringBuilder sb = StringBuilderPool.Shared.Rent(256); 120return StringBuilderPool.Shared.ToStringAndReturn(sb);
src\nuget-client\build\Shared\StringBuilderPool.cs (5)
13/// Renting and returning buffers with an <see cref="StringBuilderPool"/> can increase performance 27/// Retrieves a shared <see cref="StringBuilderPool"/> instance. 29public static readonly StringBuilderPool Shared = new(); 61/// <see cref="StringBuilderPool"/> instance, returning the built string. 69/// must only be returned via <see cref="ToStringAndReturn"/> once. The default <see cref="StringBuilderPool"/>