mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-09-10 11:55:16 +00:00
misc: chore: Fix object creation in Horizon generators
This commit is contained in:
@@ -68,7 +68,7 @@ namespace Ryujinx.Horizon.Generators.Hipc
|
||||
continue;
|
||||
}
|
||||
|
||||
CodeGenerator generator = new CodeGenerator();
|
||||
CodeGenerator generator = new();
|
||||
string className = commandInterface.ClassDeclarationSyntax.Identifier.ToString();
|
||||
|
||||
generator.AppendLine("using Ryujinx.Horizon.Common;");
|
||||
@@ -257,7 +257,7 @@ namespace Ryujinx.Horizon.Generators.Hipc
|
||||
generator.AppendLine();
|
||||
}
|
||||
|
||||
List<OutParameter> outParameters = new List<OutParameter>();
|
||||
List<OutParameter> outParameters = new();
|
||||
|
||||
string[] args = new string[method.ParameterList.Parameters.Count];
|
||||
|
||||
|
Reference in New Issue
Block a user