3 writes to Capacity
Microsoft.CodeAnalysis.Workspaces (3)
src\Dependencies\Collections\SegmentedList`1.cs (2)
568Capacity = newCapacity; 1296Capacity = _size;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (1)
347list.Capacity = Threshold;
2 references to Capacity
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
228if (tokenStream.TokenCount > 2 * list.Capacity)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (1)
345if (trim && list.Capacity > Threshold)