Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Run()

object? System.Linq.Expressions.Interpreter.LightLambda.Run ( params object?[] arguments)
inline

Definition at line 190 of file LightLambda.cs.

191 {
192 InterpretedFrame interpretedFrame = MakeFrame();
193 for (int i = 0; i < arguments.Length; i++)
194 {
195 interpretedFrame.Data[i] = arguments[i];
196 }
197 InterpretedFrame prevFrame = interpretedFrame.Enter();
198 try
199 {
201 }
202 finally
203 {
204 for (int j = 0; j < arguments.Length; j++)
205 {
206 arguments[j] = interpretedFrame.Data[j];
207 }
208 interpretedFrame.Leave(prevFrame);
209 }
210 return interpretedFrame.Pop();
211 }

References System.Linq.Expressions.Interpreter.LightLambda._interpreter, System.Linq.Expressions.Interpreter.LightLambda.MakeFrame(), and System.Linq.Expressions.Interpreter.Interpreter.Run().

Referenced by System.Linq.Expressions.Interpreter.LightLambda.MakeDelegate().