Fix namespace of `TaskExtensions`
MODIFY
WalletWasabi.Tests/UnitTests/AbandonedTasksTests.cs
WalletWasabi.Tests/UnitTests/AbandonedTasksTests.cs
using System.Threading;
using System.Threading.Tasks;
+using WalletWasabi.Extensions;
using WalletWasabi.Nito.AsyncEx;
using Xunit;

MODIFY
WalletWasabi.Tests/UnitTests/Clients/SingleInstanceCheckerTests.cs
WalletWasabi.Tests/UnitTests/Clients/SingleInstanceCheckerTests.cs
@@ -4,6 +4,7 @@ using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
+using WalletWasabi.Extensions;
using WalletWasabi.Services;
using Xunit;

MODIFY
WalletWasabi.Tests/UnitTests/Tor/Control/TorControlClientTests.cs
WalletWasabi.Tests/UnitTests/Tor/Control/TorControlClientTests.cs
@@ -2,6 +2,7 @@ using System.Collections.Generic;
using System.IO.Pipelines;
using System.Threading;
using System.Threading.Tasks;
+using WalletWasabi.Extensions;
using WalletWasabi.Logging;
using WalletWasabi.Tor.Control;
using WalletWasabi.Tor.Control.Messages;

MODIFY
WalletWasabi.Tests/UnitTests/Tor/Socks5/Pool/TorHttpPoolTests.cs
WalletWasabi.Tests/UnitTests/Tor/Socks5/Pool/TorHttpPoolTests.cs
@@ -6,6 +6,7 @@ using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
+using WalletWasabi.Extensions;
using WalletWasabi.Tor.Socks5;
using WalletWasabi.Tor.Socks5.Exceptions;
using WalletWasabi.Tor.Socks5.Models.Fields.OctetFields;

MODIFY
WalletWasabi.Tests/UnitTests/Tor/Socks5/TorTcpConnectionFactoryTests.cs
WalletWasabi.Tests/UnitTests/Tor/Socks5/TorTcpConnectionFactoryTests.cs
@@ -2,6 +2,7 @@ using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks;
+using WalletWasabi.Extensions;
using WalletWasabi.Logging;
using WalletWasabi.Tor.Socks5;
using WalletWasabi.Tor.Socks5.Exceptions;

MODIFY
WalletWasabi.Tests/UnitTests/Tor/TorProcessManagerTests.cs
WalletWasabi.Tests/UnitTests/Tor/TorProcessManagerTests.cs
@@ -5,6 +5,7 @@ using System.IO.Pipelines;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
+using WalletWasabi.Extensions;
using WalletWasabi.Microservices;
using WalletWasabi.Tor;
using WalletWasabi.Tor.Control;

MODIFY
WalletWasabi/BitcoinCore/P2pNode.cs
WalletWasabi/BitcoinCore/P2pNode.cs
@@ -6,6 +6,7 @@ using System.Threading.Tasks;
using WalletWasabi.BitcoinCore.Monitoring;
using WalletWasabi.BitcoinP2p;
using WalletWasabi.Blockchain.Mempool;
+using WalletWasabi.Extensions;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;

MODIFY
WalletWasabi/Cache/IdempotencyRequestCache.cs
WalletWasabi/Cache/IdempotencyRequestCache.cs
using Microsoft.Extensions.Caching.Memory;
using System.Threading;
using System.Threading.Tasks;
+using WalletWasabi.Extensions;
namespace WalletWasabi.Cache;

MODIFY
WalletWasabi/Extensions/TaskExtensions.cs
WalletWasabi/Extensions/TaskExtensions.cs
-namespace System.Threading.Tasks;
+using System.Threading;
+using System.Threading.Tasks;
+
+namespace WalletWasabi.Extensions;
/// <remarks>The class implements methods for backward compatibility.</remarks>
public static class TaskExtensions

MODIFY
WalletWasabi/Helpers/EventAwaiter.cs
WalletWasabi/Helpers/EventAwaiter.cs
using System.Threading;
using System.Threading.Tasks;
+using WalletWasabi.Extensions;
namespace WalletWasabi.Helpers;

MODIFY
WalletWasabi/Helpers/EventsAwaiter.cs
WalletWasabi/Helpers/EventsAwaiter.cs
@@ -2,6 +2,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
+using WalletWasabi.Extensions;
namespace WalletWasabi.Helpers;

MODIFY
WalletWasabi/Services/SingleInstanceChecker.cs
WalletWasabi/Services/SingleInstanceChecker.cs
@@ -6,6 +6,7 @@ using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
+using WalletWasabi.Extensions;
using WalletWasabi.Logging;
namespace WalletWasabi.Services;

MODIFY
WalletWasabi/Tor/TorProcessManager.cs
WalletWasabi/Tor/TorProcessManager.cs
@@ -3,6 +3,7 @@ using System.IO;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
+using WalletWasabi.Extensions;
using WalletWasabi.Logging;
using WalletWasabi.Microservices;
using WalletWasabi.Tor.Control;

Fix namespace of `TaskExtensions` (#9749)