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);
745
where TOperation :
AsyncOperation
785
private
AsyncOperation
? _tail; // Queue of pending IO operations to process when data becomes available.
947
public
AsyncOperation
? ProcessSyncEventOrGetAsyncEvent(SocketAsyncContext context, bool skipAsyncEvents = false)
949
AsyncOperation
op;
1095
AsyncOperation
? nextOp = null;
1139
AsyncOperation
? nextOp = null;
1194
AsyncOperation
current = _tail.Next;
1230
AsyncOperation
op = _tail;
1368
where TOperation :
AsyncOperation
2233
AsyncOperation
? receiveOperation = _receiveQueue.ProcessSyncEventOrGetAsyncEvent(this);
2239
AsyncOperation
? sendOperation = _sendQueue.ProcessSyncEventOrGetAsyncEvent(this);
2249
AsyncOperation
? receiveOperation =
2251
AsyncOperation
? sendOperation =