6 references to Clear
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (6)
src\Dependencies\Collections\SegmentedArray.cs (1)
20
=>
Clear
(array, 0, array.Length);
src\Dependencies\Collections\SegmentedDictionary`2.cs (1)
307
SegmentedArray.
Clear
(_entries, 0, count);
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
209
SegmentedArray.
Clear
(_entries, 0, count);
src\Dependencies\Collections\SegmentedList`1.cs (3)
399
SegmentedArray.
Clear
(_items, 0, size); // Clear the elements so that the gc can reclaim the references.
1117
SegmentedArray.
Clear
(_items, freeIndex, _size - freeIndex); // Clear the elements so that the gc can reclaim the references.
1177
SegmentedArray.
Clear
(_items, _size, count);