2 writes to _mapKeyToIndex
System.Threading.Tasks.Dataflow (2)
Internal\QueuedMap.cs (2)
162
_mapKeyToIndex
= new Dictionary<TKey, int>();
170
_mapKeyToIndex
= new Dictionary<TKey, int>(capacity);
4 references to _mapKeyToIndex
System.Threading.Tasks.Dataflow (4)
Internal\QueuedMap.cs (4)
180
if (!_queue.IsEmpty &&
_mapKeyToIndex
.TryGetValue(key, out indexOfKeyInQueue))
188
_mapKeyToIndex
.Add(key, indexOfKeyInQueue);
198
if (popped)
_mapKeyToIndex
.Remove(item.Key);
228
internal int Count { get { return
_mapKeyToIndex
.Count; } }