1 write to _weakList
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Compilers\Core\Portable\InternalUtilities\WeakList.cs (1)
172
_weakList
= weakList;
5 references to _weakList
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
src\Compilers\Core\Portable\InternalUtilities\WeakList.cs (5)
188
if (
_weakList
._items[currentIndex].TryGetTarget(out var item))
208
_weakList
._items = Array.Empty<WeakReference<T>>();
209
_weakList
._size = 0;
211
else if (_alive <
_weakList
._items.Length / 4)
214
_weakList
.Shrink(_firstDead, _alive);