4 references to Add
System.Collections.Concurrent (4)
System\Collections\Concurrent\ConcurrentBag.cs (4)
723
Interlocked.Exchange(ref _currentOp, Operation.
Add
);
746
Interlocked.Exchange(ref _currentOp, Operation.
Add
); // ensure subsequent reads aren't reordered before this
975
if ((head - (_tailIndex - 2) >= 0) && _currentOp == Operation.
Add
)
982
while (_currentOp == Operation.
Add
);