Made implicit conversion to HANDLE work from SafeHandle instead of SafeHANDLE

pull/217/head
dahall 2021-03-06 18:51:17 -07:00
parent 524cb82c2b
commit c5075f648b
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ namespace Vanara.PInvoke
/// <summary>Performs an implicit conversion from <see cref="SafeHANDLE"/> to <see cref="HANDLE"/>.</summary>
/// <param name="h">The h.</param>
/// <returns>The result of the conversion.</returns>
public static implicit operator HANDLE(SafeHANDLE h) => new HANDLE(h.DangerousGetHandle());
public static implicit operator HANDLE(SafeHandle h) => new HANDLE(h.DangerousGetHandle());
/// <summary>Implements the operator !=.</summary>
/// <param name="h1">The first handle.</param>