mirror of https://github.com/dahall/Vanara.git
Fixed bug in last commit
parent
50aa5a06e1
commit
b92976fad4
|
@ -2222,7 +2222,7 @@ namespace Vanara.PInvoke
|
|||
/// <param name="h1">The first handle.</param>
|
||||
/// <param name="h2">The second handle.</param>
|
||||
/// <returns>The result of the operator.</returns>
|
||||
public static bool operator ==(SafeHANDLE h1, IntPtr h2) => h1?.Equals(h2) ?? h2 is null;
|
||||
public static bool operator ==(SafeHANDLE h1, IntPtr h2) => h1?.Equals(h2) ?? false;
|
||||
|
||||
/// <summary>Determines whether the specified <see cref="SafeHANDLE"/>, is equal to this instance.</summary>
|
||||
/// <param name="other">The <see cref="SafeHANDLE"/> to compare with this instance.</param>
|
||||
|
|
Loading…
Reference in New Issue