14 references to EnsureCapacity
Microsoft.Build.Framework (5)
Collections\RefArrayBuilder.cs (1)
305_scope.EnsureCapacity(nextCapacity, copy: true);
NativeMethods.cs (4)
730buffer.EnsureCapacity(length); 772buffer.EnsureCapacity(length); 1184buffer.EnsureCapacity(pathLength); 1230buffer.EnsureCapacity(fullPathLength);
Microsoft.Build.Framework.UnitTests (7)
BufferScope_Tests.cs (7)
93buffer.EnsureCapacity(32); 104buffer.EnsureCapacity(128); 118buffer.EnsureCapacity(64, copy: true); 196buffer.EnsureCapacity(50, copy: false); 208buffer.EnsureCapacity(10, copy: true); 212buffer.EnsureCapacity(50, copy: true); 362buffer.EnsureCapacity(20, copy: true);
Microsoft.Build.Tasks.Core (2)
AssemblyDependency\AssemblyInformation.cs (1)
653buffer.EnsureCapacity((int)dwLength);
ComReference.cs (1)
413buffer.EnsureCapacity(bufferSize);