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:36 +01:00
parent d3efb58222
commit acbc11af95
67 changed files with 1483 additions and 1383 deletions

View File

@@ -42,8 +42,8 @@ public sealed class Sector
{
static readonly ushort[] _ecma267InitialValues =
{
0x0001, 0x5500, 0x0002, 0x2A00, 0x0004, 0x5400, 0x0008, 0x2800, 0x0010, 0x5000, 0x0020, 0x2001, 0x0040,
0x4002, 0x0080, 0x0005
0x0001, 0x5500, 0x0002, 0x2A00, 0x0004, 0x5400, 0x0008, 0x2800, 0x0010, 0x5000, 0x0020, 0x2001, 0x0040, 0x4002,
0x0080, 0x0005
};
static readonly uint[] _edcTable =
@@ -228,8 +228,7 @@ public sealed class Sector
{
var scrambled = new byte[sector.Length];
if(sector.Length % 2064 != 0 ||
sector.Length / 2064 != transferLength)
if(sector.Length % 2064 != 0 || sector.Length / 2064 != transferLength)
return sector;
for(uint i = 0; i < transferLength; i++)