1 instantiation of StringBuilderPool
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
Nuget.Frameworks\StringBuilderPool.cs (1)
31
public static readonly StringBuilderPool Shared =
new
();
7 references to StringBuilderPool
Microsoft.VisualStudio.TestPlatform.ObjectModel (7)
Nuget.Frameworks\FrameworkNameProvider.cs (2)
228
StringBuilder sb =
StringBuilderPool
.Shared.Rent(256);
257
return
StringBuilderPool
.Shared.ToStringAndReturn(sb);
Nuget.Frameworks\StringBuilderPool.cs (5)
15
/// Renting and returning buffers with an <see cref="
StringBuilderPool
"/> can increase performance
29
/// Retrieves a shared <see cref="
StringBuilderPool
"/> instance.
31
public static readonly
StringBuilderPool
Shared = new();
63
/// <see cref="
StringBuilderPool
"/> instance, returning the built string.
71
/// must only be returned via <see cref="ToStringAndReturn"/> once. The default <see cref="
StringBuilderPool
"/>