From f980ade3a83ac058039a0769659e3fb190cd56eb Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Mon, 18 Jan 2021 16:38:36 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9A=20Move=20ReflectionExtensions=20to?= =?UTF-8?q?=20child=20namespace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Item for #7 --- X10D/src/{ => WaitHandleExtensions}/WaitHandleExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename X10D/src/{ => WaitHandleExtensions}/WaitHandleExtensions.cs (88%) diff --git a/X10D/src/WaitHandleExtensions.cs b/X10D/src/WaitHandleExtensions/WaitHandleExtensions.cs similarity index 88% rename from X10D/src/WaitHandleExtensions.cs rename to X10D/src/WaitHandleExtensions/WaitHandleExtensions.cs index 000e08a..170d89f 100644 --- a/X10D/src/WaitHandleExtensions.cs +++ b/X10D/src/WaitHandleExtensions/WaitHandleExtensions.cs @@ -1,7 +1,7 @@ using System.Threading; using System.Threading.Tasks; -namespace X10D +namespace X10D.WaitHandleExtensions { /// /// Extension methods for . @@ -15,7 +15,7 @@ namespace X10D /// Returns a task which wraps . public static Task WaitOneAsync(this WaitHandle handle) { - return new Task(() => handle.WaitOne()); + return new(() => handle.WaitOne()); } } }