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

◆ GetFuncType()

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

Definition at line 3466 of file Expression.cs.

3467 {
3469 {
3470 case TryGetFuncActionArgsResult.ArgumentNull:
3471 throw new ArgumentNullException("typeArgs");
3472 case TryGetFuncActionArgsResult.ByRef:
3473 throw Error.TypeMustNotBeByRef("typeArgs");
3474 default:
3475 {
3477 if (funcType == null)
3478 {
3479 throw Error.IncorrectNumberOfTypeArgsForFunc("typeArgs");
3480 }
3481 return funcType;
3482 }
3483 }
3484 }
static TryGetFuncActionArgsResult ValidateTryGetFuncActionArgs(Type[] typeArgs)

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