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

◆ VisitBlock()

override Expression System.Runtime.CompilerServices.RuntimeOps.ExpressionQuoter.VisitBlock ( BlockExpression node)
inlinepackagevirtual

Reimplemented from System.Linq.Expressions.ExpressionVisitor.

Definition at line 121 of file RuntimeOps.cs.

122 {
123 if (node.Variables.Count > 0)
124 {
126 }
128 if (node.Variables.Count > 0)
129 {
131 }
132 if (array == null)
133 {
134 return node;
135 }
136 return node.Rewrite(node.Variables, array);
137 }
static Expression[] VisitBlockExpressions(ExpressionVisitor visitor, BlockExpression block)
readonly Stack< HashSet< ParameterExpression > > _shadowedVars
Definition RuntimeOps.cs:89

References System.Runtime.CompilerServices.RuntimeOps.ExpressionQuoter._shadowedVars, System.array, System.Collections.Generic.Dictionary< TKey, TValue >.Count, System.Collections.Generic.Stack< T >.Pop(), System.Collections.Generic.Stack< T >.Push(), and System.Dynamic.Utils.ExpressionVisitorUtils.VisitBlockExpressions().