[Refactor] Use collection expressions.

This commit is contained in:
2024-05-01 04:39:38 +01:00
parent f7ca79b09e
commit 134ce7041e
667 changed files with 12936 additions and 13750 deletions

View File

@@ -507,7 +507,7 @@ public sealed partial class SuperCardPro
if(captureIndex > 0) return ErrorNumber.OutOfRange;
List<byte> tmpBuffer = new();
List<byte> tmpBuffer = [];
if(Header.flags.HasFlag(ScpFlags.StartsAtIndex)) tmpBuffer.Add(0);
@@ -538,7 +538,7 @@ public sealed partial class SuperCardPro
Stream stream = _scpFilter.GetDataForkStream();
var br = new BinaryReader(stream);
List<byte> tmpBuffer = new();
List<byte> tmpBuffer = [];
for(var i = 0; i < Header.revolutions; i++)
{