From e6181c24124d97f2fbc932b8a68311e625463156 Mon Sep 17 00:00:00 2001 From: uzvkl Date: Tue, 11 Jun 2019 23:05:52 +0200 Subject: Move dsa related stuff to subfolder --- FireBase/Extensions/TaskExtensions.cs | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 FireBase/Extensions/TaskExtensions.cs (limited to 'FireBase/Extensions/TaskExtensions.cs') diff --git a/FireBase/Extensions/TaskExtensions.cs b/FireBase/Extensions/TaskExtensions.cs deleted file mode 100644 index c955b3a..0000000 --- a/FireBase/Extensions/TaskExtensions.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using System.Threading.Tasks; - -namespace Firebase.Database.Extensions -{ - public static class TaskExtensions - { - /// - /// Instead of unwrapping it throws it as it is. - /// - public static async Task WithAggregateException(this Task source) - { - try - { - await source.ConfigureAwait(false); - } - catch (Exception ex) - { - throw source.Exception ?? ex; - } - } - } -} \ No newline at end of file -- cgit v1.2.3-54-g00ecf