22 references to LifecycleAwaitable
System.Net.Http.WinHttpHandler (22)
System\Net\Http\WinHttpHandler.cs (2)
1678return state.LifecycleAwaitable; 1705return state.LifecycleAwaitable;
System\Net\Http\WinHttpRequestCallback.cs (16)
168Debug.Assert(state.LifecycleAwaitable != null, "OnRequestSendRequestComplete: LifecycleAwaitable is null"); 170state.LifecycleAwaitable.SetResult(1); 177state.LifecycleAwaitable.SetResult(bytesAvailable); 190state.LifecycleAwaitable.SetException(new IOException(SR.Format( 198state.LifecycleAwaitable.SetResult((int)bytesRead); 214Debug.Assert(state.LifecycleAwaitable != null, "LifecycleAwaitable is null"); 216state.LifecycleAwaitable.SetResult(1); 449state.LifecycleAwaitable.SetException(innerException); 456state.LifecycleAwaitable.SetResult(0); 468state.LifecycleAwaitable.SetResult(0); 472state.LifecycleAwaitable.SetCanceled(state.CancellationToken); 476state.LifecycleAwaitable.SetException(innerException); 484state.LifecycleAwaitable.SetCanceled(); 488state.LifecycleAwaitable.SetException( 497state.LifecycleAwaitable.SetCanceled(); 501state.LifecycleAwaitable.SetException(new IOException(SR.net_http_io_read, innerException));
System\Net\Http\WinHttpResponseStream.cs (4)
129int bytesAvailable = await _state.LifecycleAwaitable; 146int bytesRead = await _state.LifecycleAwaitable; 231int bytesAvailable = await _state.LifecycleAwaitable; 246int bytesRead = await _state.LifecycleAwaitable;