+++ /dev/null
-// 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.Runtime.InteropServices;
-
-internal partial class Interop
-{
- internal partial class Kernel32
- {
- // The actual native signature is:
- // BOOL WINAPI QueryPerformanceCounter(
- // _Out_ LARGE_INTEGER* lpPerformanceCount
- // );
- //
- // We take a long* (rather than a out long) to avoid the pinning overhead.
- // We don't set last error since we don't need the extended error info.
-
- [DllImport(Libraries.Kernel32, ExactSpelling = true)]
- internal static extern unsafe BOOL QueryPerformanceCounter(long* lpPerformanceCount);
- }
-}
+++ /dev/null
-// 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.Runtime.InteropServices;
-
-internal partial class Interop
-{
- internal partial class Kernel32
- {
- // The actual native signature is:
- // BOOL WINAPI QueryPerformanceFrequency(
- // _Out_ LARGE_INTEGER* lpFrequency
- // );
- //
- // We take a long* (rather than a out long) to avoid the pinning overhead.
- // We don't set last error since we don't need the extended error info.
-
- [DllImport(Libraries.Kernel32, ExactSpelling = true)]
- internal static extern unsafe BOOL QueryPerformanceFrequency(long* lpFrequency);
- }
-}
<Compile Include="$(CommonPath)\CoreLib\Interop\Windows\Kernel32\Interop.GetSystemDirectoryW.cs">
<Link>Common\Interop\Windows\Kernel32\Interop.GetSystemDirectoryW.cs</Link>
</Compile>
- <Compile Include="$(CommonPath)\Interop\Windows\Kernel32\Interop.QueryPerformanceCounter.cs">
+ <Compile Include="$(CommonPath)\CoreLib\Interop\Windows\Kernel32\Interop.QueryPerformanceCounter.cs">
<Link>Common\Interop\Windows\Kernel32\Interop.QueryPerformanceCounter.cs</Link>
</Compile>
- <Compile Include="$(CommonPath)\Interop\Windows\Kernel32\Interop.QueryPerformanceFrequency.cs">
+ <Compile Include="$(CommonPath)\CoreLib\Interop\Windows\Kernel32\Interop.QueryPerformanceFrequency.cs">
<Link>Common\Interop\Windows\Kernel32\Interop.QueryPerformanceFrequency.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\CoreLib\Interop\Windows\Kernel32\Interop.SetCurrentDirectory.cs">