Fix some minor problems detected by the analyzers.

This commit is contained in:
2024-05-06 04:34:43 +01:00
parent 7db553a21c
commit debb7b9f0e
13 changed files with 56 additions and 86 deletions

View File

@@ -39,7 +39,9 @@ namespace Aaru.Devices;
public partial class Device
{
#pragma warning disable PH2070 // Risks are known. TODO: Maybe protected property?
protected static bool _readMultipleBlockCannotSetBlockCount;
#pragma warning restore PH2070
/// <summary>Reads the CSD register from a SecureDigital or MultiMediaCard device</summary>
/// <param name="buffer">Data buffer</param>