[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

@@ -54,7 +54,7 @@ public static class ExtentsConverter
if(extents == null) return null;
Tuple<ulong, ulong>[] tuples = extents.ToArray();
List<Extent> list = new();
List<Extent> list = [];
for(ulong i = 0; i < (ulong)tuples.LongLength; i++)
{