Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Dynamic.Utils.ExpressionUtils Class Reference

Static Public Member Functions

static ReadOnlyCollection< ParameterExpressionReturnReadOnly (IParameterProvider provider, ref object collection)
 
static ReadOnlyCollection< TReturnReadOnly< T > (ref IReadOnlyList< T > collection)
 
static ReadOnlyCollection< ExpressionReturnReadOnly (IArgumentProvider provider, ref object collection)
 
static T ReturnObject< T > (object collectionOrT)
 
static void ValidateArgumentTypes (MethodBase method, ExpressionType nodeKind, ref ReadOnlyCollection< Expression > arguments, string methodParamName)
 
static void ValidateArgumentCount (MethodBase method, ExpressionType nodeKind, int count, ParameterInfo[] pis)
 
static Expression ValidateOneArgument (MethodBase method, ExpressionType nodeKind, Expression arguments, ParameterInfo pi, string methodParamName, string argumentParamName, int index=-1)
 
static void RequiresCanRead (Expression expression, string paramName)
 
static void RequiresCanRead (Expression expression, string paramName, int idx)
 
static bool TryQuote (Type parameterType, ref Expression argument)
 
static void ValidateArgumentCount (this LambdaExpression lambda)
 

Static Package Functions

static ParameterInfo[] GetParametersForValidation (MethodBase method, ExpressionType nodeKind)
 
static bool SameElements< T > (ICollection< T > replacement, IReadOnlyList< T > current)
 
static bool SameElements< T > (ref IEnumerable< T > replacement, IReadOnlyList< T > current)
 

Static Private Member Functions

static bool SameElementsInCollection< T > (ICollection< T > replacement, IReadOnlyList< T > current)
 

Detailed Description

Definition at line 10 of file ExpressionUtils.cs.


The documentation for this class was generated from the following file: