5 references to EnsureCapacity
Microsoft.AspNetCore.OutputCaching (1)
StringBuilderExtensions.cs (1)
14
builder.
EnsureCapacity
(builder.Length + value.Length);
Microsoft.AspNetCore.ResponseCaching (1)
StringBuilderExtensions.cs (1)
14
builder.
EnsureCapacity
(builder.Length + value.Length);
Microsoft.CodeAnalysis (1)
Text\SourceText.cs (1)
732
builder.Builder.
EnsureCapacity
(length);
Microsoft.CodeAnalysis.Features (1)
Common\TaggedText.cs (1)
140
builder.
EnsureCapacity
(values.Sum(static value => value.Text.Length));
PresentationFramework (1)
System\Windows\Standard\NativeMethods.cs (1)
2696
buffer.
EnsureCapacity
(buffer.Capacity * 2);