misc: chore: Use collection expressions (part 2)

This commit is contained in:
KeatonTheBot 2025-03-10 21:32:01 -05:00
parent c923c0043a
commit 340ec79e9f
176 changed files with 308 additions and 308 deletions

View file

@ -661,7 +661,7 @@ namespace Ryujinx.UI.App.Common
_applications.Clear();
// Builds the applications list with paths to found applications
List<string> applicationPaths = new();
List<string> applicationPaths = [];
try
{
@ -854,7 +854,7 @@ namespace Ryujinx.UI.App.Common
{
_cancellationToken = new CancellationTokenSource();
List<string> dlcPaths = new();
List<string> dlcPaths = [];
int newDlcLoaded = 0;
numDlcRemoved = 0;
@ -967,7 +967,7 @@ namespace Ryujinx.UI.App.Common
{
_cancellationToken = new CancellationTokenSource();
List<string> updatePaths = new();
List<string> updatePaths = [];
int numUpdatesLoaded = 0;
numUpdatesRemoved = 0;