7 references to EnsureCapacity
Microsoft.AspNetCore.OutputCaching (1)
StringBuilderExtensions.cs (1)
14builder.EnsureCapacity(builder.Length + value.Length);
Microsoft.AspNetCore.Razor.Utilities.Shared (1)
src\roslyn\src\Razor\src\Shared\Microsoft.AspNetCore.Razor.SharedUtilities\Assumed_StringHandlers.cs (1)
124_builder.EnsureCapacity(capacity);
Microsoft.AspNetCore.ResponseCaching (1)
StringBuilderExtensions.cs (1)
14builder.EnsureCapacity(builder.Length + value.Length);
Microsoft.Build.Framework (2)
Utilities\QuotingUtilities.cs (2)
76splitString.EnsureCapacity(input.Length); 179unquotedString.EnsureCapacity(input.Length);
Microsoft.CodeAnalysis.Features (1)
Common\TaggedText.cs (1)
143builder.EnsureCapacity(values.Sum(static value => value.Text.Length));
PresentationFramework (1)
System\Windows\Standard\NativeMethods.cs (1)
2721buffer.EnsureCapacity(buffer.Capacity * 2);