You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
This fixes a small behavioral difference between the mscorlib implementation of Unwrap and the corefx implementation of unwrap. A Task can end in a canceled state but contain a CancellationToken that doesn't have cancellation requested, e.g. if TaskCompletionSource.SetCanceled() is used. When Unwrap proxies such a task, the mscorlib implementation was appropriately reflecting that no-cancellation-requested state, whereas our corefx implementation was pretending it did have cancellation requested.
This commit fixes the corefx implementation to match, and adds a few additional test cases to verify.
0 commit comments