11 references to EnsureCapacity
PresentationFramework (1)
src\Framework\System\Windows\Standard\NativeMethods.cs (1)
3064
buffer.
EnsureCapacity
(buffer.Capacity * 2);
System.Configuration (1)
System\Configuration\ClientConfigPaths.cs (1)
123
sb.
EnsureCapacity
(capacity);
System.Core (5)
System\Diagnostics\Eventing\Reader\NativeWrapper.cs (5)
552
sb.
EnsureCapacity
(bufferNeeded);
756
sb.
EnsureCapacity
(channelNameNeeded);
782
sb.
EnsureCapacity
(ProviderIdNeeded);
986
sb.
EnsureCapacity
(bufferNeeded);
1138
sb.
EnsureCapacity
(bufferNeeded);
System.IO.Log (1)
System\IO\Log\LogArchiveSnapshot.cs (1)
50
baseLogFileName.
EnsureCapacity
(actualLength + 1);
System.Windows.Forms (2)
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (2)
382
lpszFile.
EnsureCapacity
(capacity);
538
buffer.
EnsureCapacity
(capacity);
WindowsBase (1)
Shared\MS\Win32\UnsafeNativeMethodsCLR.cs (1)
494
buffer.
EnsureCapacity
(buffer.Capacity * 2);