2 instantiations of OverlappedCache
System (2)
net\System\Net\Sockets\_BaseOverlappedAsyncResult.cs (2)
193m_Cache = new OverlappedCache(new Overlapped(), objectsToPinArray, s_IOCallback); 197m_Cache = new OverlappedCache(new Overlapped(), objectsToPin, s_IOCallback, triedCastingToArray);
21 references to OverlappedCache
System (21)
net\System\Net\Sockets\_BaseOverlappedAsyncResult.cs (12)
32private OverlappedCache m_Cache; 225protected void SetupCache(ref OverlappedCache overlappedCache) 231m_Cache = overlappedCache == null ? null : Interlocked.Exchange<OverlappedCache>(ref overlappedCache, null); 270internal void ExtractCache(ref OverlappedCache overlappedCache) 277OverlappedCache cache = m_Cache == null ? null : Interlocked.Exchange<OverlappedCache>(ref m_Cache, null); 289OverlappedCache oldCache = Interlocked.Exchange<OverlappedCache>(ref overlappedCache, cache); 618OverlappedCache.InterlockedFree(ref m_Cache); 746internal static void InterlockedFree(ref OverlappedCache overlappedCache) 748OverlappedCache cache = overlappedCache == null ? null : Interlocked.Exchange<OverlappedCache>(ref overlappedCache, null);
net\System\Net\Sockets\_OverlappedAsyncResult.cs (3)
103internal void SetUnmanagedStructures(byte[] buffer, int offset, int size, SocketAddress socketAddress, bool pinSocketAddress, ref OverlappedCache overlappedCache) 131internal void SetUnmanagedStructures(BufferOffsetSize[] buffers, ref OverlappedCache overlappedCache) 168internal void SetUnmanagedStructures(IList<ArraySegment<byte>> buffers, ref OverlappedCache overlappedCache)
net\System\Net\Sockets\_ReceiveMessageOverlappedAsyncResult.cs (1)
131internal void SetUnmanagedStructures(byte[] buffer, int offset, int size, SocketAddress socketAddress, SocketFlags socketFlags, ref OverlappedCache overlappedCache)
net\System\Net\Sockets\_TransmitFileOverlappedAsyncResult.cs (1)
114internal void SetUnmanagedStructures(byte[] preBuffer, byte[] postBuffer, FileStream fileStream, TransmitFileOptions flags, ref OverlappedCache overlappedCache)
net\System\Net\Sockets\Socket.cs (4)
79internal OverlappedCache SendOverlappedCache; 80internal OverlappedCache ReceiveOverlappedCache; 6393OverlappedCache.InterlockedFree(ref m_Caches.SendOverlappedCache); 6394OverlappedCache.InterlockedFree(ref m_Caches.ReceiveOverlappedCache);