Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMartin Baulig <mabaul@microsoft.com>2018-02-28 11:37:24 +0300
committerMarek Safar <marek.safar@gmail.com>2018-02-28 11:37:24 +0300
commit8facc4afb2cb8b6d921a503a442e06c514b33147 (patch)
treea1f52d5dda8086b048461a58a2516062da291c8f /data
parentdfe6e2d4a2c0cc05f63b3421207daf4dccf6ff5e (diff)
[System]: Use new `WebCompletionSource` instead of `TaskCompletionSource`. (#7293)
This new helper class uses `TaskCompletionSource<>` internally, but instead of using TrySetException(), it sets a result containing an `ExceptionDispatchInfo`. The problem with using TrySetException() is that it wraps the exception object in an `AggregateException`, that would be unobserved if the caller throws the original exception.
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions