13 references to ShouldWrapInOperationCanceledException
System.Net.Http (13)
System\Net\Http\HttpContent.cs (1)
451if (CancellationHelper.ShouldWrapInOperationCanceledException(e, cancellationToken))
System\Net\Http\SocketsHttpHandler\ChunkedEncodingReadStream.cs (2)
234catch (Exception exc) when (CancellationHelper.ShouldWrapInOperationCanceledException(exc, cancellationToken)) 279catch (Exception exc) when (CancellationHelper.ShouldWrapInOperationCanceledException(exc, cancellationToken))
System\Net\Http\SocketsHttpHandler\ConnectHelper.cs (2)
87if (CancellationHelper.ShouldWrapInOperationCanceledException(e, cancellationToken)) 141return CancellationHelper.ShouldWrapInOperationCanceledException(exception, cancellationToken) ?
System\Net\Http\SocketsHttpHandler\ConnectionCloseReadStream.cs (2)
62catch (Exception exc) when (CancellationHelper.ShouldWrapInOperationCanceledException(exc, cancellationToken)) 123catch (Exception exc) when (CancellationHelper.ShouldWrapInOperationCanceledException(exc, cancellationToken))
System\Net\Http\SocketsHttpHandler\ContentLengthReadStream.cs (2)
87catch (Exception exc) when (CancellationHelper.ShouldWrapInOperationCanceledException(exc, cancellationToken)) 152catch (Exception exc) when (CancellationHelper.ShouldWrapInOperationCanceledException(exc, cancellationToken))
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (1)
906if (CancellationHelper.ShouldWrapInOperationCanceledException(exception, cancellationToken))
System\Net\Http\SocketsHttpHandler\RawConnectionStream.cs (3)
69catch (Exception exc) when (CancellationHelper.ShouldWrapInOperationCanceledException(exc, cancellationToken)) 125catch (Exception exc) when (CancellationHelper.ShouldWrapInOperationCanceledException(exc, cancellationToken)) 216catch (Exception exc) when (CancellationHelper.ShouldWrapInOperationCanceledException(exc, cancellationToken))