2 writes to Tcs
System.Net.Http.WinHttpHandler (2)
System\Net\Http\WinHttpHandler.cs (1)
633state.Tcs = tcs;
System\Net\Http\WinHttpRequestState.cs (1)
78Tcs = null;
8 references to Tcs
System.Net.Http.WinHttpHandler (8)
System\Net\Http\WinHttpHandler.cs (8)
862Debug.Assert(state.Tcs != null); 866state.Tcs.TrySetCanceled(state.CancellationToken); 874state.Tcs.TrySetException(new NotSupportedException(SR.net_http_unsupported_version)); 1007state.Tcs.TrySetResult(responseMessage); 1560Debug.Assert(state.Tcs != null); 1564state.Tcs.TrySetCanceled(state.CancellationToken); 1571state.Tcs.TrySetException(new HttpRequestException(SR.net_http_client_execution_error, ex)); 1575state.Tcs.TrySetException(ex);