From aa55ac504389113f0ee66dfb895e0829a605ce26 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Sat, 21 Nov 2020 13:17:26 +0100 Subject: [PATCH] Removed unnecessary extension --- .../Extensions/ComPtrExtensions.cs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/ComputeSharp.Core/Extensions/ComPtrExtensions.cs b/src/ComputeSharp.Core/Extensions/ComPtrExtensions.cs index fd41a85f..474b30d0 100644 --- a/src/ComputeSharp.Core/Extensions/ComPtrExtensions.cs +++ b/src/ComputeSharp.Core/Extensions/ComPtrExtensions.cs @@ -9,20 +9,6 @@ namespace ComputeSharp.Core.Extensions /// public static class ComPtrExtensions { - /// - /// Gets whether the current instance as is not . - /// - /// The type to wrap in the current instance. - /// The input instance to check. - /// Whether or not is not . - [Pure] - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static unsafe bool Exists(this ComPtr ptr) - where T : unmanaged - { - return ptr.Get() != null; - } - /// /// Gets the address of the current instance as a raw double pointer. ///