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

◆ AddDynamicTestAndDefer()

DynamicMetaObject System.Dynamic.ExpandoObject.MetaExpando.AddDynamicTestAndDefer ( DynamicMetaObjectBinder binder,
ExpandoClass klass,
ExpandoClass originalClass,
DynamicMetaObject succeeds )
inlineprivate

Definition at line 343 of file ExpandoObject.cs.

344 {
345 Expression expression = succeeds.Expression;
346 if (originalClass != null)
347 {
349 }
351 }
DynamicMetaObject(Expression expression, BindingRestrictions restrictions)
static readonly MethodInfo s_expandoPromoteClass
static readonly MethodInfo s_expandoCheckVersion
static ConstantExpression Constant(object? value)
static BlockExpression Block(Expression arg0, Expression arg1)
static MethodCallExpression Call(MethodInfo method)
static ConditionalExpression Condition(Expression test, Expression ifTrue, Expression ifFalse)

References System.Dynamic.DynamicMetaObject.DynamicMetaObject(), System.Linq.Expressions.Expression< TDelegate >.Block(), System.Linq.Expressions.Expression< TDelegate >.Call(), System.Linq.Expressions.Expression< TDelegate >.Condition(), System.Linq.Expressions.Expression< TDelegate >.Constant(), System.Dynamic.ExpandoObject.MetaExpando.GetLimitedSelf(), System.Dynamic.ExpandoObject.MetaExpando.GetRestrictions(), System.Dynamic.ExpandoObject.s_expandoCheckVersion, and System.Dynamic.ExpandoObject.s_expandoPromoteClass.

Referenced by System.Dynamic.ExpandoObject.MetaExpando.BindDeleteMember(), System.Dynamic.ExpandoObject.MetaExpando.BindGetOrInvokeMember(), and System.Dynamic.ExpandoObject.MetaExpando.BindSetMember().