mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 17:21:15 +01:00
misc: chore: Use collection expressions (part 2)
This commit is contained in:
1 parent
c923c0043a
commit
340ec79e9f
176 files changed
+308
-308
No files matched your search
@@ -11,7 +11,7 @@ namespace Ryujinx.Horizon.Generators.Hipc
|
||||
public CommandInterface(ClassDeclarationSyntax classDeclarationSyntax)
|
||||
{
|
||||
ClassDeclarationSyntax = classDeclarationSyntax;
|
||||
CommandImplementations = new List<MethodDeclarationSyntax>();
|
||||
CommandImplementations = [];
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -257,7 +257,7 @@ namespace Ryujinx.Horizon.Generators.Hipc
|
||||
generator.AppendLine();
|
||||
}
|
||||
|
||||
List<OutParameter> outParameters = new List<OutParameter>();
|
||||
List<OutParameter> outParameters = [];
|
||||
|
||||
string[] args = new string[method.ParameterList.Parameters.Count];
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Ryujinx.Horizon.Generators.Hipc
|
||||
|
||||
public HipcSyntaxReceiver()
|
||||
{
|
||||
CommandInterfaces = new List<CommandInterface>();
|
||||
CommandInterfaces = [];
|
||||
}
|
||||
|
||||
public void OnVisitSyntaxNode(SyntaxNode syntaxNode)
|
||||
|
||||
Reference in new issue
Block a user