Skip to content

Commit

Permalink
Not supported in this lang version
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisDyallo committed May 16, 2024
1 parent ab71f14 commit c045a87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Yubico.YubiKey/src/Yubico/YubiKey/DeviceInfoHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ public static YubiKeyDeviceInfo GetDeviceInfo<T>(
if (response.Status == ResponseStatus.Success)
{
Dictionary<int, ReadOnlyMemory<byte>> tlvData = response.GetData();
foreach ((int tag, ReadOnlyMemory<byte> value) in tlvData)
foreach (KeyValuePair<int, ReadOnlyMemory<byte>> tlv in tlvData)
{
pages.Add(tag, value);
pages.Add(tlv.Key, tlv.Value);
}

const int moreDataTag = 0x10;
Expand Down

0 comments on commit c045a87

Please sign in to comment.