2 writes to _storage
NuGet.DependencyResolver.Core (2)
GraphModel\Tracker.cs (2)
112
_storage
= item;
121
_storage
= new HashSet<GraphItem<TItem>>(capacity: 3) { existingItem, item };
8 references to _storage
NuGet.DependencyResolver.Core (8)
GraphModel\Tracker.cs (8)
110
if (
_storage
is null)
114
else if (
_storage
is GraphItem<TItem> existingItem)
127
((HashSet<GraphItem<TItem>>)
_storage
).Add(item);
146
public bool HasMultipleItems =>
_storage
is HashSet<GraphItem<TItem>>;
169
if (_entry.
_storage
is null)
173
else if (_entry.
_storage
is GraphItem<TItem>)
180
_setEnumerator = ((HashSet<GraphItem<TItem>>)_entry.
_storage
).GetEnumerator();
197
_current = (GraphItem<TItem>)_entry.
_storage
!;