Prefer using 'string.Equals(string, StringComparison)' to perform a case-insensitive comparison.

This commit is contained in:
2023-10-04 08:13:57 +01:00
parent bd35ccc4f4
commit 62fbb024f7
14 changed files with 78 additions and 68 deletions

View File

@@ -709,7 +709,7 @@ partial class Dump
subBuf = DeinterleaveQ(cmdBuf);
else if(dbDev?.ATAPI?.RemovableMedias?.Any(d => d.SupportsPlextorReadCDDA == true) == true ||
dbDev?.SCSI?.RemovableMedias?.Any(d => d.SupportsPlextorReadCDDA == true) == true ||
dev.Manufacturer.ToLowerInvariant() == "plextor")
dev.Manufacturer.Equals("plextor", StringComparison.InvariantCultureIgnoreCase))
sense = dev.PlextorReadCdDa(out cmdBuf, out _, lba, 96, 1, PlextorSubchannel.All, dev.Timeout, out _);
{