19 references to OperationResult
System.Net.Sockets (19)
System\Net\Sockets\SocketAsyncContext.Unix.cs (19)
152
public
OperationResult
TryComplete(SocketAsyncContext context)
161
return
OperationResult
.Cancelled;
174
return
OperationResult
.Completed;
197
return
OperationResult
.Cancelled;
201
return
OperationResult
.Pending;
914
if (operation.TryComplete(context) !=
OperationResult
.Pending)
930
if (operation.TryComplete(context) !=
OperationResult
.Pending)
1011
OperationResult
result = ProcessQueuedOperation(op);
1015
if (result ==
OperationResult
.Completed)
1029
public
OperationResult
ProcessQueuedOperation(TOperation op)
1042
return
OperationResult
.Cancelled;
1053
OperationResult
result;
1057
if (result !=
OperationResult
.Pending)
1070
return
OperationResult
.Cancelled;
1087
return
OperationResult
.Pending;
1128
Debug.Assert(result !=
OperationResult
.Pending);
1398
OperationResult
result = queue.ProcessQueuedOperation(operation);
1399
if (result ==
OperationResult
.Completed ||
1400
result ==
OperationResult
.Cancelled)