Skip to content

Commit 2d1ae97

Browse files
committed
misc: clean up code formatting and suppress string comparison warning for compatibility
1 parent 7e4d0fa commit 2d1ae97

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Yubico.Core/src/Yubico/Core/Devices/Hid/WindowsHidDevice.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ private void ResolveIdsFromInstancePath(string instancePath)
7676
// 012345678901234567890123456789
7777
// ^--- ^---
7878

79-
// Disable string comparison warning for this method as it needs to compile for both net47, netstandard 2.0 and 2.1
80-
#pragma warning disable CA1862
79+
// Disable string comparison warning for this method as it needs to compile for both net47, netstandard 2.0 and 2.1
80+
#pragma warning disable CA1862
8181
if (instancePath.ToUpperInvariant().Contains("VID") && instancePath.ToUpperInvariant().Contains("HID"))
8282
#pragma warning restore CA1862
8383
{

Yubico.Core/src/Yubico/PlatformInterop/Desktop/SCard/SCardReaderStates.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ internal struct SCARD_READER_STATE
3232
private uint _currentState;
3333
private uint _eventState;
3434
private uint _atrLength;
35-
35+
3636
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 36)]
3737
private byte[] _answerToReset;
3838

0 commit comments

Comments
 (0)