mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-13 22:37:07 +00:00
misc: chore: Use collection expressions (part 2)
This commit is contained in:
parent
c923c0043a
commit
340ec79e9f
176 changed files with 308 additions and 308 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue