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

◆ CompileThrowUnaryExpression()

void System.Linq.Expressions.Interpreter.LightCompiler.CompileThrowUnaryExpression ( Expression expr,
bool asVoid )
inlineprivate

Definition at line 1443 of file LightCompiler.cs.

1444 {
1445 UnaryExpression unaryExpression = (UnaryExpression)expr;
1446 if (unaryExpression.Operand == null)
1447 {
1448 CheckRethrow();
1450 if (asVoid)
1451 {
1453 }
1454 else
1455 {
1457 }
1458 }
1459 else
1460 {
1461 Compile(unaryExpression.Operand);
1462 if (asVoid)
1463 {
1465 }
1466 else
1467 {
1469 }
1470 }
1471 }
readonly Stack< ParameterExpression > _exceptionForRethrowStack
void Compile(Expression expr, bool asVoid)

References System.Linq.Expressions.Interpreter.LightCompiler._exceptionForRethrowStack, System.Linq.Expressions.Interpreter.LightCompiler._instructions, System.Linq.Expressions.Interpreter.LightCompiler.CheckRethrow(), System.Linq.Expressions.Interpreter.LightCompiler.Compile(), System.Linq.Expressions.Interpreter.LightCompiler.CompileParameterExpression(), System.Linq.Expressions.Interpreter.InstructionList.EmitRethrow(), System.Linq.Expressions.Interpreter.InstructionList.EmitRethrowVoid(), System.Linq.Expressions.Interpreter.InstructionList.EmitThrow(), and System.Linq.Expressions.Interpreter.InstructionList.EmitThrowVoid().

Referenced by System.Linq.Expressions.Interpreter.LightCompiler.CompileAsVoid(), and System.Linq.Expressions.Interpreter.LightCompiler.CompileNoLabelPush().