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

◆ Significant()

static bool System.Linq.Expressions.Compiler.LambdaCompiler.Significant ( Expression node)
inlinestaticprivate

Definition at line 2420 of file LambdaCompiler.cs.

2421 {
2422 if (node is BlockExpression blockExpression)
2423 {
2424 for (int i = 0; i < blockExpression.ExpressionCount; i++)
2425 {
2426 if (Significant(blockExpression.GetExpression(i)))
2427 {
2428 return true;
2429 }
2430 }
2431 return false;
2432 }
2433 if (NotEmpty(node))
2434 {
2435 return !(node is DebugInfoExpression);
2436 }
2437 return false;
2438 }

References System.Linq.Expressions.Compiler.LambdaCompiler.NotEmpty(), and System.Linq.Expressions.Compiler.LambdaCompiler.Significant().

Referenced by System.Linq.Expressions.Compiler.LambdaCompiler.AddReturnLabel(), System.Linq.Expressions.Compiler.LambdaCompiler.Emit(), and System.Linq.Expressions.Compiler.LambdaCompiler.Significant().