3 references to InProgress
System.Net.Sockets (3)
System\Net\Sockets\SocketAsyncEventArgs.cs (3)
539Debug.Assert(status == OperationState.InProgress || status == OperationState.Configuring || status == OperationState.Disposed, $"Unexpected status: {status}"); 549OperationState status = Interlocked.CompareExchange(ref _operating, OperationState.InProgress, OperationState.Free); 611if (_operating == OperationState.InProgress && _completedOperation == SocketAsyncOperation.Connect)