2 writes to _queue
System.Threading.Tasks.Dataflow (2)
Internal\QueuedMap.cs (2)
161
_queue
= new ArrayBasedLinkedQueue<KeyValuePair<TKey, TValue>>();
169
_queue
= new ArrayBasedLinkedQueue<KeyValuePair<TKey, TValue>>(capacity);
4 references to _queue
System.Threading.Tasks.Dataflow (4)
Internal\QueuedMap.cs (4)
180
if (!
_queue
.IsEmpty && _mapKeyToIndex.TryGetValue(key, out indexOfKeyInQueue))
182
_queue
.Replace(indexOfKeyInQueue, new KeyValuePair<TKey, TValue>(key, value));
187
indexOfKeyInQueue =
_queue
.Enqueue(new KeyValuePair<TKey, TValue>(key, value));
197
bool popped =
_queue
.TryDequeue(out item);