From 9ff560bf6e8f77385b8d23e6e338d370e015d516 Mon Sep 17 00:00:00 2001 From: "sam.segers" Date: Wed, 28 Jan 2026 10:09:01 +0100 Subject: [PATCH] fix TaskCompletionSource namespace --- src/Polyfill/TaskCompletionSource.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Polyfill/TaskCompletionSource.cs b/src/Polyfill/TaskCompletionSource.cs index ff7b9ff3..5ae10d89 100644 --- a/src/Polyfill/TaskCompletionSource.cs +++ b/src/Polyfill/TaskCompletionSource.cs @@ -2,11 +2,9 @@ #nullable enable -namespace System.Diagnostics; +namespace System.Threading.Tasks; using System; -using System.Threading; -using System.Threading.Tasks; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; @@ -99,4 +97,4 @@ public TaskCompletionSource(object? state, TaskCreationOptions creationOptions) /// public bool TrySetCanceled(CancellationToken cancellationToken) => inner.TrySetCanceled(default); } -#endif \ No newline at end of file +#endif