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