1 instantiation of StringBuilderPool
NuGet.Common (1)
src\nuget-client\build\Shared\StringBuilderPool.cs (1)
29
public static readonly StringBuilderPool Shared =
new
();
7 references to StringBuilderPool
NuGet.Common (7)
PathUtil\PathUtility.cs (2)
256
var path =
StringBuilderPool
.Shared.Rent(256);
277
return
StringBuilderPool
.Shared.ToStringAndReturn(path);
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.
29
public 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
"/>