Change DiagnosticsHandler to special-case base cancellation exception (dotnet/corefx...
authorStephen Toub <stoub@microsoft.com>
Mon, 17 Jun 2019 20:25:23 +0000 (16:25 -0400)
committerGitHub <noreply@github.com>
Mon, 17 Jun 2019 20:25:23 +0000 (16:25 -0400)
commit43b22414917101a90cc76a786e796617c704c470
tree262e0704550fbc408d9a2b49383586053de4e96c
parent4cbc6120cc3a63eeb1ade839ae7ff5898f9e3e3b
Change DiagnosticsHandler to special-case base cancellation exception (dotnet/corefx#38601)

It should be treating all OperationCanceledExceptions as cancellation, not just TaskCanceledException.

Commit migrated from https://github.com/dotnet/corefx/commit/dd6b0669bec5ac3b72b2b3a015f42c403c3ec0f1
src/libraries/System.Net.Http/src/System/Net/Http/DiagnosticsHandler.cs