5 references to Counts
System.Private.CoreLib (5)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\LowLevelLifoSemaphore.cs (5)
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));
541
var countsAfterUpdate = new
Counts
(_data);
552
new
Counts
(Interlocked.CompareExchange(ref _data, newCounts._data, oldCounts._data));