mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-27 12:27:11 +02:00
misc: chore: [ci skip] Use explicit types & target-typed new
This commit is contained in:
parent
faacec9801
commit
6ab899f621
4 changed files with 15 additions and 17 deletions
|
@ -152,7 +152,7 @@ namespace Ryujinx.Ava.Utilities.PlayReport
|
|||
public override bool GetData(Horizon.Prepo.Types.PlayReport playReport, out object result)
|
||||
{
|
||||
List<MessagePackObject> packedObjects = [];
|
||||
foreach (var reportKey in ReportKeys)
|
||||
foreach (string reportKey in ReportKeys)
|
||||
{
|
||||
if (!playReport.ReportData.AsDictionary().TryGetValue(reportKey, out MessagePackObject valuePackObject))
|
||||
{
|
||||
|
@ -176,7 +176,7 @@ namespace Ryujinx.Ava.Utilities.PlayReport
|
|||
public override bool GetData(Horizon.Prepo.Types.PlayReport playReport, out object result)
|
||||
{
|
||||
Dictionary<string, MessagePackObject> packedObjects = [];
|
||||
foreach (var reportKey in ReportKeys)
|
||||
foreach (string reportKey in ReportKeys)
|
||||
{
|
||||
if (!playReport.ReportData.AsDictionary().TryGetValue(reportKey, out MessagePackObject valuePackObject))
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue