mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-05 09:56:26 +02:00
misc: chore: Use collection expressions in Generator projects
This commit is contained in:
parent
45125c16cf
commit
2853f5b426
8 changed files with 27 additions and 27 deletions
|
@ -53,7 +53,7 @@ namespace Spv.Generator
|
|||
}
|
||||
|
||||
private readonly IEnumerable<IOperand> AllOperands => new[] { Operand1, Operand2, Operand3, Operand4, Operand5 }
|
||||
.Concat(Overflow ?? Array.Empty<IOperand>())
|
||||
.Concat(Overflow ?? [])
|
||||
.Take(Count);
|
||||
|
||||
public readonly override string ToString()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue