23 references to Exchange
mscorlib (15)
system\io\unmanagedmemorystream.cs (13)
344
Interlocked.
Exchange
(ref _position, value);
377
Interlocked.
Exchange
(ref _position, value - _mem);
441
Interlocked.
Exchange
(ref _position, pos + n);
485
Interlocked.
Exchange
(ref _position, pos + 1);
518
Interlocked.
Exchange
(ref _position, offset);
525
Interlocked.
Exchange
(ref _position, offset + pos);
532
Interlocked.
Exchange
(ref _position, len + offset);
564
Interlocked.
Exchange
(ref _length, value);
566
Interlocked.
Exchange
(ref _position, value);
607
Interlocked.
Exchange
(ref _length, n);
637
Interlocked.
Exchange
(ref _position, n);
700
Interlocked.
Exchange
(ref _length, n);
724
Interlocked.
Exchange
(ref _position, n);
system\threading\volatile.cs (2)
306
Interlocked.
Exchange
(ref location, value);
329
Interlocked.
Exchange
(ref *(long*)pLocation, (long)value);
System.Core (2)
System\Diagnostics\PerformanceData\CounterSetInstanceCounterDataSet.cs (1)
51
Interlocked.
Exchange
(ref (* m_offset), value);
System\IO\BufferedStream2.cs (1)
610
Interlocked.
Exchange
(ref pos, value);
System.Runtime.Caching (3)
System\Caching\CacheMemoryMonitor.cs (2)
108
Interlocked.
Exchange
(ref s_autoPrivateBytesLimit, memoryLimit);
131
Interlocked.
Exchange
(ref s_effectiveProcessMemoryLimit, memoryLimit);
System\Caching\PerfCounters.cs (1)
139
long value = Interlocked.
Exchange
(ref _counterValues[i], 0);
System.ServiceModel (1)
System\ServiceModel\Channels\ServiceChannel.cs (1)
2625
Interlocked.
Exchange
(ref this.lastActivity, Ticks.Now);
System.Web (2)
HttpContext.cs (2)
1651
Interlocked.
Exchange
(ref _timeoutTicks, value.Ticks);
1758
Interlocked.
Exchange
(ref _timeoutStartTimeUtcTicks, DateTime.UtcNow.Ticks);