6 references to Exchange
mscorlib (1)
system\threading\Tasks\Task.cs (1)
3597
object continuationObject = Interlocked.
Exchange
(ref m_continuationObject, s_taskCompletionSentinel);
System (1)
net\System\Net\HttpWebRequest.cs (1)
2109
object returnResult = Interlocked.
Exchange
(ref m_PendingReturnResult, DBNull.Value);
System.Data (1)
fx\src\data\System\Data\Odbc\OdbcEnvironment.cs (1)
39
object globalEnvironmentHandle = Interlocked.
Exchange
(ref _globalEnvironmentHandle, null);
System.Runtime.Remoting (2)
channels\core\bytebufferpool.cs (2)
85
cookie = Interlocked.
Exchange
(ref _controlCookie, null);
165
cookie = Interlocked.
Exchange
(ref _controlCookie, null);
System.ServiceModel (1)
System\ServiceModel\InstanceContext.cs (1)
609
object oldUserObject = Interlocked.
Exchange
(ref this.userObject, newUserObject);