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

◆ CompileSetVariable()

void System.Linq.Expressions.Interpreter.LightCompiler.CompileSetVariable ( ParameterExpression variable,
bool isVoid )
inlineprivate

Definition at line 272 of file LightCompiler.cs.

273 {
275 if (localVariable.InClosure)
276 {
277 if (isVoid)
278 {
280 }
281 else
282 {
284 }
285 }
286 else if (localVariable.IsBoxed)
287 {
288 if (isVoid)
289 {
291 }
292 else
293 {
295 }
296 }
297 else if (isVoid)
298 {
300 }
301 else
302 {
304 }
305 }
LocalVariable ResolveLocal(ParameterExpression variable)

References System.Linq.Expressions.Interpreter.LightCompiler._instructions, System.Linq.Expressions.Interpreter.InstructionList.EmitAssignLocal(), System.Linq.Expressions.Interpreter.InstructionList.EmitAssignLocalBoxed(), System.Linq.Expressions.Interpreter.InstructionList.EmitAssignLocalToClosure(), System.Linq.Expressions.Interpreter.InstructionList.EmitStoreLocal(), System.Linq.Expressions.Interpreter.InstructionList.EmitStoreLocalBoxed(), System.Linq.Expressions.Interpreter.InstructionList.EmitStoreLocalToClosure(), and System.Linq.Expressions.Interpreter.LightCompiler.ResolveLocal().

Referenced by System.Linq.Expressions.Interpreter.LightCompiler.CompileTryExpression(), and System.Linq.Expressions.Interpreter.LightCompiler.CompileVariableAssignment().