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