Redo Reformat and cleanup.

Rider EAP was having a bug interpreting .editorconfig that didn't generate the code style as we wanted.
This is now done with Rider-stable.
This commit is contained in:
2023-10-04 17:34:40 +01:00
parent bc8bf7a2dc
commit 7363a5d9c5
453 changed files with 7241 additions and 7126 deletions

View File

@@ -42,12 +42,10 @@ public sealed partial class AppleDOS
/// <inheritdoc />
public bool Identify(IMediaImage imagePlugin, Partition partition)
{
if(imagePlugin.Info.Sectors != 455 &&
imagePlugin.Info.Sectors != 560)
if(imagePlugin.Info.Sectors != 455 && imagePlugin.Info.Sectors != 560)
return false;
if(partition.Start > 0 ||
imagePlugin.Info.SectorSize != 256)
if(partition.Start > 0 || imagePlugin.Info.SectorSize != 256)
return false;
int spt = imagePlugin.Info.Sectors == 455 ? 13 : 16;
@@ -59,8 +57,10 @@ public sealed partial class AppleDOS
_vtoc = Marshal.ByteArrayToStructureLittleEndian<Vtoc>(vtocB);
return _vtoc.catalogSector < spt && _vtoc.maxTrackSectorPairsPerSector <= 122 && _vtoc.sectorsPerTrack == spt &&
_vtoc.bytesPerSector == 256;
return _vtoc.catalogSector < spt &&
_vtoc.maxTrackSectorPairsPerSector <= 122 &&
_vtoc.sectorsPerTrack == spt &&
_vtoc.bytesPerSector == 256;
}
/// <inheritdoc />