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

@@ -61,8 +61,9 @@ public sealed partial class KryoFlux
OobBlock footer = Marshal.ByteArrayToStructureLittleEndian<OobBlock>(hdr);
return header is { blockId : BlockIds.Oob, blockType: OobTypes.KFInfo } && footer.blockId == BlockIds.Oob &&
footer is { blockType: OobTypes.EOF, length : 0x0D0D };
return header is { blockId: BlockIds.Oob, blockType: OobTypes.KFInfo } &&
footer.blockId == BlockIds.Oob &&
footer is { blockType: OobTypes.EOF, length: 0x0D0D };
}
#endregion

View File

@@ -119,16 +119,14 @@ public sealed partial class KryoFlux
if(cylinder == 1)
{
AaruConsole.DebugWriteLine(MODULE_NAME,
Localization.Cannot_find_cyl_1_supposing_double_stepping);
AaruConsole.DebugWriteLine(MODULE_NAME, Localization.Cannot_find_cyl_1_supposing_double_stepping);
step = 2;
continue;
}
AaruConsole.DebugWriteLine(MODULE_NAME, Localization.Arrived_end_of_disk_at_cylinder_0,
cylinder);
AaruConsole.DebugWriteLine(MODULE_NAME, Localization.Arrived_end_of_disk_at_cylinder_0, cylinder);
break;
}
@@ -177,7 +175,10 @@ public sealed partial class KryoFlux
trackStream.EnsureRead(kfinfo, 0, oobBlk.length);
string kfinfoStr = StringHandlers.CToString(kfinfo);
string[] lines = kfinfoStr.Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries);
string[] lines = kfinfoStr.Split(new[]
{
','
}, StringSplitOptions.RemoveEmptyEntries);
DateTime blockDate = DateTime.Now;
DateTime blockTime = DateTime.Now;
@@ -218,8 +219,7 @@ public sealed partial class KryoFlux
var blockTimestamp = new DateTime(blockDate.Year, blockDate.Month, blockDate.Day,
blockTime.Hour, blockTime.Minute, blockTime.Second);
AaruConsole.DebugWriteLine(MODULE_NAME, Localization.Found_timestamp_0,
blockTimestamp);
AaruConsole.DebugWriteLine(MODULE_NAME, Localization.Found_timestamp_0, blockTimestamp);
if(blockTimestamp < Info.CreationTime)
_imageInfo.CreationTime = blockTimestamp;