12 references to ThrowIfCancellationRequested
System.Net.Http (12)
System\Net\Http\SocketsHttpHandler\ChunkedEncodingReadStream.cs (1)
410CancellationHelper.ThrowIfCancellationRequested(cancellationRegistration.Token);
System\Net\Http\SocketsHttpHandler\ConnectionCloseReadStream.cs (3)
40CancellationHelper.ThrowIfCancellationRequested(cancellationToken); 80CancellationHelper.ThrowIfCancellationRequested(cancellationToken); 136CancellationHelper.ThrowIfCancellationRequested(cancellationToken);
System\Net\Http\SocketsHttpHandler\ContentLengthReadStream.cs (3)
59CancellationHelper.ThrowIfCancellationRequested(cancellationToken); 100CancellationHelper.ThrowIfCancellationRequested(cancellationToken); 243CancellationHelper.ThrowIfCancellationRequested(ctr.Token);
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (1)
357CancellationHelper.ThrowIfCancellationRequested(cancellationToken);
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (1)
776CancellationHelper.ThrowIfCancellationRequested(cancellationToken); // in case cancellation may have disposed of the stream
System\Net\Http\SocketsHttpHandler\RawConnectionStream.cs (3)
47CancellationHelper.ThrowIfCancellationRequested(cancellationToken); 82CancellationHelper.ThrowIfCancellationRequested(cancellationToken); 138CancellationHelper.ThrowIfCancellationRequested(cancellationToken);