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

◆ BindSetMember()

override DynamicMetaObject System.Dynamic.ExpandoObject.MetaExpando.BindSetMember ( SetMemberBinder binder,
DynamicMetaObject value )
inlinevirtual

Reimplemented from System.Dynamic.DynamicMetaObject.

Definition at line 309 of file ExpandoObject.cs.

310 {
313 ExpandoClass klass;
314 int index;
315 ExpandoClass classEnsureIndex = GetClassEnsureIndex(binder.Name, binder.IgnoreCase, Value, out klass, out index);
317 }
DynamicMetaObject(Expression expression, BindingRestrictions restrictions)
ExpandoClass GetClassEnsureIndex(string name, bool caseInsensitive, ExpandoObject obj, out ExpandoClass klass, out int index)
DynamicMetaObject AddDynamicTestAndDefer(DynamicMetaObjectBinder binder, ExpandoClass klass, ExpandoClass originalClass, DynamicMetaObject succeeds)
static readonly MethodInfo s_expandoTrySetValue
static void RequiresNotNull(object value, string paramName)
static ConstantExpression Constant(object? value)
static MethodCallExpression Call(MethodInfo method)
static UnaryExpression Convert(Expression expression, Type type)
static ConstantExpression Constant(bool value)
Definition Utils.cs:64

References System.Dynamic.DynamicMetaObject.DynamicMetaObject(), System.Dynamic.ExpandoObject.MetaExpando.AddDynamicTestAndDefer(), System.Linq.Expressions.Expression< TDelegate >.Call(), System.Linq.Expressions.Utils.Constant(), System.Linq.Expressions.Expression< TDelegate >.Constant(), System.Linq.Expressions.Expression< TDelegate >.Convert(), System.Dynamic.BindingRestrictions.Empty, System.Dynamic.ExpandoObject.MetaExpando.GetClassEnsureIndex(), System.Dynamic.ExpandoObject.MetaExpando.GetLimitedSelf(), System.index, System.Dynamic.Utils.ContractUtils.RequiresNotNull(), System.Dynamic.ExpandoObject.s_expandoTrySetValue, System.Dynamic.ExpandoObject.MetaExpando.Value, and System.value.