5 references to Exchange
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\InstanceContext.cs (1)
284
object oldUserObject = Interlocked.
Exchange
(ref _userObject, newUserObject);
System.Data.Odbc (1)
System\Data\Odbc\OdbcEnvironment.cs (1)
33
object? globalEnvironmentHandle = Interlocked.
Exchange
(ref s_globalEnvironmentHandle, null);
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (1)
3451
object? continuationObject = Interlocked.
Exchange
(ref m_continuationObject, s_taskCompletionSentinel);
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (2)
743
workItem = Interlocked.
Exchange
(ref _nextWorkItemToProcess, null);
938
workItem = Interlocked.
Exchange
(ref workQueue._nextWorkItemToProcess, null);