17 references to Add
mscorlib (5)
system\collections\concurrent\PartitionerStatic.cs (1)
674int endPos = Interlocked.Add(ref m_FillBufferCurrentPosition, requestedChunkSize);
system\threading\interlocked.cs (2)
34return Add(ref location, 1); 54return Add(ref location, -1);
system\threading\SpinLock.cs (1)
363turn = (Interlocked.Add(ref m_owner, 2) & WAITERS_MASK) >> 1 ;
system\threading\Tasks\ParallelRangeManager.cs (1)
128nMyOffset = Interlocked.Add(ref *(int*)indexPtr, (int)m_nIncrementValue) - m_nIncrementValue;
System.Core (3)
System\IO\BufferedStream2.cs (1)
120int newPos = Interlocked.Add(ref _writePos, count);
system\threading\ReaderWriterLockSlim\ReaderWriterLockSlim.cs (2)
1654Interlocked.Add(ref _enterDeprioritizationState, deprioritizationStateChange); 1679Interlocked.Add(ref _enterDeprioritizationState, -deprioritizationStateChange);
System.ServiceModel.Internals (7)
System\Runtime\IOThreadScheduler.cs (7)
152int slot = Interlocked.Add(ref this.headTail, Bits.HiOne); 159slot = Interlocked.Add(ref this.headTail, Bits.HiOne); 198int slot = Interlocked.Add(ref this.headTailLowPri, Bits.HiOne); 500gateSnapshot = Interlocked.Add(ref this.gate, Bits.LoHiBit); 517gateSnapshot = Interlocked.Add(ref this.gate, Bits.HiHiBit); 531int gateSnapshot = Interlocked.Add(ref this.gate, Bits.HiOne); 557gateSnapshot = Interlocked.Add(ref this.gate, Bits.HiHiBit);
System.Web (2)
Util\CountdownTask.cs (1)
36int newCount = Interlocked.Add(ref _pendingCount, delta);
Util\SynchronizationHelper.cs (1)
48int newOperationCount = Interlocked.Add(ref _operationsInFlight, addend);