2 references to CompareExchange
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\CounterAggregator.cs (1)
51while (Interlocked.CompareExchange(ref delta.Value, currentValue + value, currentValue) != currentValue);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventCounter.cs (1)
154double result = Interlocked.CompareExchange(ref _bufferedValues[i], value, UnusedBufferSlotValue);