misc: chore: Use collection expressions in HLE project

This commit is contained in:
Evan Husted
2025-01-26 15:43:02 -06:00
parent 3c2f283ec7
commit 70b767ef60
72 changed files with 312 additions and 299 deletions

View File

@@ -33,7 +33,7 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc
_horizonClient = horizonClient;
_profiles = new ConcurrentDictionary<string, UserProfile>();
_storedOpenedUsers = Array.Empty<UserProfile>();
_storedOpenedUsers = [];
_accountSaveDataManager = new AccountSaveDataManager(_profiles);

View File

@@ -65,7 +65,7 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc
{
ProfilesJson profilesJson = new()
{
Profiles = new List<UserProfileJson>(),
Profiles = [],
LastOpened = LastOpened.ToString(),
};