misc: chore: Use collection expressions in Generator projects

This commit is contained in:
Evan Husted 2025-01-26 15:45:43 -06:00
parent 45125c16cf
commit 2853f5b426
8 changed files with 27 additions and 27 deletions

View file

@ -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()