Switch to TerraFX.Interop.Windows in unit tests

このコミットが含まれているのは:
Sergio Pedri committed 2023-10-12 22:09:34 +02:00
1 親 cc56d748c7
コミット 96d42f94c3
19ファイル変更
+120 -183

検索条件に一致するファイルはありません

+2 -2
ファイルの表示
@@ -1,6 +1,6 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Win32;
using TerraFX.Interop.Windows;
namespace ComputeSharp.Tests.Extensions;
@@ -17,7 +17,7 @@ internal static class ComPtrExtensions
/// <returns>The reference count value for <paramref name="ptr"/>.</returns>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static unsafe uint GetReferenceCount<T>(this in ComPtr<T> ptr)
where T : unmanaged
where T : unmanaged, IUnknown.Interface
{
if (ptr.Get() is null)
{