Migrate to .NET 9 (#198)

This commit is contained in:
Marco Carvalho
2024-12-19 21:52:25 -03:00
committed by GitHub
parent 8db5a7e98b
commit ff6628149d
136 changed files with 278 additions and 270 deletions

View File

@@ -64,7 +64,7 @@ namespace Spv.Generator
_operands.Add(value);
}
public void AddOperand(IOperand[] value)
public void AddOperand(ReadOnlySpan<IOperand> value)
{
foreach (IOperand instruction in value)
{
@@ -72,7 +72,7 @@ namespace Spv.Generator
}
}
public void AddOperand(LiteralInteger[] value)
public void AddOperand(ReadOnlySpan<LiteralInteger> value)
{
foreach (LiteralInteger instruction in value)
{
@@ -85,7 +85,7 @@ namespace Spv.Generator
AddOperand((IOperand)value);
}
public void AddOperand(Instruction[] value)
public void AddOperand(ReadOnlySpan<Instruction> value)
{
foreach (Instruction instruction in value)
{