18 references to CompareExchange
Aspire.Microsoft.Data.SqlClient (1)
Aspire.Microsoft.EntityFrameworkCore.SqlServer (1)
dotnet-svcutil-lib (1)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Microsoft.Extensions.Caching.Memory (1)
Microsoft.ML.Data (1)
System.Collections.Concurrent (1)
System.Diagnostics.DiagnosticSource (1)
System.Diagnostics.Process (1)
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Threading\Interlocked.cs (7)
422(ulong)CompareExchange(ref Unsafe.As<ulong, long>(ref location1), (long)value, (long)comparand);
442=> Unsafe.BitCast<long, double>(CompareExchange(ref Unsafe.As<double, long>(ref location1), Unsafe.BitCast<double, long>(value), Unsafe.BitCast<double, long>(comparand)));
456return (IntPtr)Interlocked.CompareExchange(ref Unsafe.As<IntPtr, long>(ref location1), (long)value, (long)comparand);
475return (UIntPtr)Interlocked.CompareExchange(ref Unsafe.As<UIntPtr, long>(ref location1), (long)value, (long)comparand);
540CompareExchange(
625long oldValue = CompareExchange(ref location1, newValue, current);
691long oldValue = CompareExchange(ref location1, newValue, current);