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

◆ GetActionType()

static Type System.Linq.Expressions.Expression< TDelegate >.GetActionType ( params Type?[] typeArgs)
inlinestaticinherited

Definition at line 3496 of file Expression.cs.

3497 {
3499 {
3500 case TryGetFuncActionArgsResult.ArgumentNull:
3501 throw new ArgumentNullException("typeArgs");
3502 case TryGetFuncActionArgsResult.ByRef:
3503 throw Error.TypeMustNotBeByRef("typeArgs");
3504 default:
3505 {
3507 if (actionType == null)
3508 {
3509 throw Error.IncorrectNumberOfTypeArgsForAction("typeArgs");
3510 }
3511 return actionType;
3512 }
3513 }
3514 }
static TryGetFuncActionArgsResult ValidateTryGetFuncActionArgs(Type[] typeArgs)

References System.Linq.Expressions.Compiler.DelegateHelpers.GetActionType(), System.Linq.Expressions.Error.IncorrectNumberOfTypeArgsForAction(), System.Linq.Expressions.Error.TypeMustNotBeByRef(), and System.Linq.Expressions.Expression< TDelegate >.ValidateTryGetFuncActionArgs().