6 references to Clear
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (6)
src\Dependencies\Collections\Segmented\SegmentedArray.cs (1)
22
=>
Clear
(array, 0, array.Length);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
309
SegmentedArray.
Clear
(_entries, 0, count);
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
211
SegmentedArray.
Clear
(_entries, 0, count);
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
401
SegmentedArray.
Clear
(_items, 0, size); // Clear the elements so that the gc can reclaim the references.
1119
SegmentedArray.
Clear
(_items, freeIndex, _size - freeIndex); // Clear the elements so that the gc can reclaim the references.
1179
SegmentedArray.
Clear
(_items, _size, count);