2 types derived from AsyncOperation
System.Net.Sockets (2)
System\Net\Sockets\SocketAsyncContext.Unix.cs (2)
336
private abstract class ReadOperation :
AsyncOperation
, IThreadPoolWorkItem
343
private abstract class WriteOperation :
AsyncOperation
, IThreadPoolWorkItem
16 references to AsyncOperation
System.Net.Sockets (16)
System\Net\Sockets\SocketAsyncContext.Unix.cs (16)
122
private volatile
AsyncOperation
.State _state;
129
public
AsyncOperation
Next = null!; // initialized by helper called from ctor
264
ThreadPool.UnsafeQueueUserWorkItem(o => ((
AsyncOperation
)o!).InvokeCallback(allowPooling: false), this);
747
where TOperation :
AsyncOperation
787
private
AsyncOperation
? _tail; // Queue of pending IO operations to process when data becomes available.
949
public
AsyncOperation
? ProcessSyncEventOrGetAsyncEvent(SocketAsyncContext context, bool skipAsyncEvents = false)
951
AsyncOperation
op;
1097
AsyncOperation
? nextOp = null;
1141
AsyncOperation
? nextOp = null;
1196
AsyncOperation
current = _tail.Next;
1232
AsyncOperation
op = _tail;
1394
where TOperation :
AsyncOperation
2270
AsyncOperation
? receiveOperation = _receiveQueue.ProcessSyncEventOrGetAsyncEvent(this);
2276
AsyncOperation
? sendOperation = _sendQueue.ProcessSyncEventOrGetAsyncEvent(this);
2286
AsyncOperation
? receiveOperation =
2288
AsyncOperation
? sendOperation =