5 references to Exchange
System (1)
net\System\Net\_SafeNetHandles.cs (1)
2380
IntPtr oldHandle = Interlocked.
Exchange
(ref handle, IntPtr.Zero);
System.Core (1)
Microsoft\Win32\SafeHandles\SafePerfProviderHandle.cs (1)
23
if (Interlocked.
Exchange
(ref handle, IntPtr.Zero) != IntPtr.Zero) {
System.Web (3)
Configuration\NativeConfig.cs (1)
48
IntPtr pConfigSystem = Interlocked.
Exchange
(ref _nativeConfig, IntPtr.Zero);
HttpWriter.cs (2)
210
IntPtr data = Interlocked.
Exchange
(ref _data, IntPtr.Zero);
238
IntPtr data = Interlocked.
Exchange
(ref _data, IntPtr.Zero);