Around line 272 is a loop for (var ix = 0; ix < arguments2.Count && ix < args.Count; ix++). But we know that arguments2.Count is <= args.Count because of the validation on line 261.
So the loop control can be simplified to for (var ix = 0; ix < arguments2.Count; ix++).
I would change the naming of arguments2 and args to better reflect their roles. Something like formalParameters and functionCallArguments?
Around line 272 is a loop
for (var ix = 0; ix < arguments2.Count && ix < args.Count; ix++)
. But we know thatarguments2.Count
is <=args.Count
because of the validation on line 261.So the loop control can be simplified to
for (var ix = 0; ix < arguments2.Count; ix++)
.I would change the naming of
arguments2
andargs
to better reflect their roles. Something likeformalParameters
andfunctionCallArguments
?