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

◆ Loop() [3/3]

static LoopExpression System.Linq.Expressions.Expression< TDelegate >.Loop ( Expression< TDelegate > body,
LabelTarget? @ break,
LabelTarget? @ continue )
inlinestaticinherited

Definition at line 3601 of file Expression.cs.

3602 {
3603 ExpressionUtils.RequiresCanRead(body, "body");
3604 if (@continue != null && @continue.Type != typeof(void))
3605 {
3606 throw Error.LabelTypeMustBeVoid("continue");
3607 }
3608 return new LoopExpression(body, @break, @continue);
3609 }
static void RequiresCanRead(Expression expression, string paramName)

References System.Linq.Expressions.Error.LabelTypeMustBeVoid(), and System.Dynamic.Utils.ExpressionUtils.RequiresCanRead().