misc: chore: Use collection expressions

This commit is contained in:
KeatonTheBot
2025-03-06 20:46:29 -06:00
parent 4d5757417e
commit e2973a875a
236 changed files with 9843 additions and 7561 deletions
+2 -2
View File
@@ -250,7 +250,7 @@ namespace Ryujinx.Cpu.Jit
{
if (size == 0)
{
return Enumerable.Empty<HostMemoryRange>();
return [];
}
var guestRegions = GetPhysicalRegionsImpl(va, size);
@@ -276,7 +276,7 @@ namespace Ryujinx.Cpu.Jit
{
if (size == 0)
{
return Enumerable.Empty<MemoryRange>();
return [];
}
return GetPhysicalRegionsImpl(va, size);