27 object[] args =
GetArgs(frame, num);
39 frame.StackIndex = num + 1;
48 for (
int i = 0; i <
array.Length; i++)
54 return Array.Empty<
object>();
59 return "New " + _constructor.DeclaringType.Name +
"(" +
_constructor?.ToString() +
")";
static Exception Unreachable
static void UnwrapAndRethrow(TargetInvocationException exception)
readonly int _argumentCount
NewInstruction(ConstructorInfo constructor, int argumentCount)
override int ProducedStack
readonly ConstructorInfo _constructor
override string InstructionName
override int ConsumedStack
object[] GetArgs(InterpretedFrame frame, int first)
override string ToString()
override int Run(InterpretedFrame frame)
object Invoke(object?[]? parameters)