2 types derived from AsyncOperation
System.Net.Sockets (2)
System\Net\Sockets\SocketAsyncContext.Unix.cs (2)
336private abstract class ReadOperation : AsyncOperation, IThreadPoolWorkItem 343private abstract class WriteOperation : AsyncOperation, IThreadPoolWorkItem
16 references to AsyncOperation
System.Net.Sockets (16)
System\Net\Sockets\SocketAsyncContext.Unix.cs (16)
122private volatile AsyncOperation.State _state; 129public AsyncOperation Next = null!; // initialized by helper called from ctor 264ThreadPool.UnsafeQueueUserWorkItem(o => ((AsyncOperation)o!).InvokeCallback(allowPooling: false), this); 745where TOperation : AsyncOperation 785private AsyncOperation? _tail; // Queue of pending IO operations to process when data becomes available. 947public AsyncOperation? ProcessSyncEventOrGetAsyncEvent(SocketAsyncContext context, bool skipAsyncEvents = false) 949AsyncOperation op; 1095AsyncOperation? nextOp = null; 1139AsyncOperation? nextOp = null; 1194AsyncOperation current = _tail.Next; 1230AsyncOperation op = _tail; 1368where TOperation : AsyncOperation 2233AsyncOperation? receiveOperation = _receiveQueue.ProcessSyncEventOrGetAsyncEvent(this); 2239AsyncOperation? sendOperation = _sendQueue.ProcessSyncEventOrGetAsyncEvent(this); 2249AsyncOperation? receiveOperation = 2251AsyncOperation? sendOperation =