remove copy of Interop.GetCurrentThreadId.cs (dotnet/corefx#36807)
authorKrzysztof Wicher <mordotymoja@gmail.com>
Fri, 12 Apr 2019 13:19:51 +0000 (06:19 -0700)
committerStephen Toub <stoub@microsoft.com>
Fri, 12 Apr 2019 13:19:51 +0000 (09:19 -0400)
Commit migrated from https://github.com/dotnet/corefx/commit/46f57de34bc4df79e50911dce6ec9abb4f35b553

src/libraries/Common/src/Interop/Windows/Kernel32/Interop.GetCurrentThreadId.cs [deleted file]
src/libraries/Microsoft.Win32.SystemEvents/src/Microsoft.Win32.SystemEvents.csproj

diff --git a/src/libraries/Common/src/Interop/Windows/Kernel32/Interop.GetCurrentThreadId.cs b/src/libraries/Common/src/Interop/Windows/Kernel32/Interop.GetCurrentThreadId.cs
deleted file mode 100644 (file)
index a92936e..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-using System;
-using System.Runtime.InteropServices;
-
-internal static partial class Interop
-{
-    internal static partial class Kernel32
-    {
-        [DllImport(Interop.Libraries.Kernel32, ExactSpelling = true)]
-        public static extern int GetCurrentThreadId();
-    }
-}
index eaa9500..94336af 100644 (file)
@@ -97,8 +97,8 @@
     <Compile Include="$(CommonPath)\Interop\Windows\User32\Interop.WndProc.cs">
       <Link>Common\Interop\Windows\User32\Interop.WndProc.cs</Link>
     </Compile>
-    <Compile Include="$(CommonPath)\Interop\Windows\Kernel32\Interop.GetCurrentThreadId.cs">
-      <Link>Common\Interop\Windows\Kernel32\Interop.GetCurrentThreadId.cs</Link>
+    <Compile Include="$(CommonPath)\CoreLib\Interop\Windows\Kernel32\Interop.GetCurrentThreadId.cs">
+      <Link>Common\CoreLib\Interop\Windows\Kernel32\Interop.GetCurrentThreadId.cs</Link>
     </Compile>
     <Compile Include="$(CommonPath)\Interop\Windows\Kernel32\Interop.GetModuleHandle.cs">
       <Link>Common\Interop\Windows\Kernel32\Interop.GetModuleHandle.cs</Link>