diff options
-rw-r--r-- | src/System.Private.CoreLib/shared/System/Threading/EventWaitHandle.Windows.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Threading/EventWaitHandle.Windows.cs b/src/System.Private.CoreLib/shared/System/Threading/EventWaitHandle.Windows.cs index f1865510d1..2da53b2b80 100644 --- a/src/System.Private.CoreLib/shared/System/Threading/EventWaitHandle.Windows.cs +++ b/src/System.Private.CoreLib/shared/System/Threading/EventWaitHandle.Windows.cs @@ -82,9 +82,7 @@ namespace System.Threading return res; } - public bool Set() => Set(_waitHandle); - - internal bool Set(SafeWaitHandle handle) + public bool Set() { bool res = Interop.Kernel32.SetEvent(_waitHandle); if (!res) |