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