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

◆ ReduceAndCheck()

Expression System.Linq.Expressions.Expression< TDelegate >.ReduceAndCheck ( )
inlineinherited

Definition at line 2539 of file Expression.cs.

2540 {
2541 if (!CanReduce)
2542 {
2543 throw Error.MustBeReducible();
2544 }
2546 if (expression == null || expression == this)
2547 {
2548 throw Error.MustReduceToDifferent();
2549 }
2551 {
2552 throw Error.ReducedNotCompatible();
2553 }
2554 return expression;
2555 }
static bool AreReferenceAssignable(Type dest, Type src)
Definition TypeUtils.cs:673

References System.Dynamic.Utils.TypeUtils.AreReferenceAssignable(), System.Linq.Expressions.Expression< TDelegate >.CanReduce, System.Linq.Expressions.Error.MustBeReducible(), System.Linq.Expressions.Error.MustReduceToDifferent(), System.Linq.Expressions.Expression< TDelegate >.Reduce(), and System.Linq.Expressions.Error.ReducedNotCompatible().

Referenced by System.Linq.Expressions.Interpreter.LightCompiler.CompileNoLabelPush(), and System.Linq.Expressions.Expression< TDelegate >.VisitChildren().