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