4 references to Add
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Interlocked.cs (1)
31
Add
(ref location, 1);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\LowLevelLifoSemaphore.cs (3)
492
var countsAfterUpdate = new Counts(Interlocked.
Add
(ref _data, 1ul << SignalCountShift));
522
var countsAfterUpdate = new Counts(Interlocked.
Add
(ref _data, unchecked((ulong)-1) << WaiterCountShift));
528
var countsAfterUpdate = new Counts(Interlocked.
Add
(ref _data, unchecked((ulong)1) << WaiterCountShift));