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

◆ Property() [2/7]

static IndexExpression System.Linq.Expressions.Expression< TDelegate >.Property ( Expression< TDelegate > instance,
string propertyName,
params Expression< TDelegate >?[] arguments )
inlinestaticinherited

Definition at line 2826 of file Expression.cs.

2827 {
2828 ExpressionUtils.RequiresCanRead(instance, "instance");
2831 return MakeIndexProperty(instance, indexer, "propertyName", arguments.ToReadOnly());
2832 }
static void RequiresNotNull(object value, string paramName)
static void RequiresCanRead(Expression expression, string paramName)
static PropertyInfo FindInstanceProperty([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties|DynamicallyAccessedMemberTypes.NonPublicProperties)] Type type, string propertyName, Expression[] arguments)
static IndexExpression MakeIndexProperty(Expression instance, PropertyInfo indexer, string paramName, ReadOnlyCollection< Expression > argList)

References System.Linq.Expressions.Expression< TDelegate >.FindInstanceProperty(), System.Linq.Expressions.Expression< TDelegate >.MakeIndexProperty(), System.Dynamic.Utils.ExpressionUtils.RequiresCanRead(), and System.Dynamic.Utils.ContractUtils.RequiresNotNull().

Referenced by System.Runtime.CompilerServices.CallSite< T >.CreateCustomUpdateDelegate(), System.Linq.Expressions.BinaryExpression.GetHasValueProperty(), and System.Runtime.CompilerServices.CallSiteBinder.Stitch< T >().