Skip to content

Commit

Permalink
Merge pull request #61 from tmittet/Address_CA1419_Provide_a_paramete…
Browse files Browse the repository at this point in the history
…rless_constructor_with_same_visibility_as_containing_type
  • Loading branch information
badcel authored Nov 18, 2023
2 parents c1c50b8 + cac7ed6 commit 1c687e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HidApi.Net/Internal/DeviceSafeHandle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ internal class DeviceSafeHandle : SafeHandle
public static readonly DeviceSafeHandle Null = new();
public override bool IsInvalid => handle == IntPtr.Zero;

private DeviceSafeHandle() : base(IntPtr.Zero, true) { }
internal DeviceSafeHandle() : base(IntPtr.Zero, true) { }

protected override bool ReleaseHandle()
{
Expand Down

0 comments on commit 1c687e1

Please sign in to comment.