private static void smethod_0(Class146 A_0) { if (A_0.method_3() > 0) { A_0.method_2(0x7fffffff); } }
DynamicMetaObject DynamicMetaObject.BindSetMember(SetMemberBinder binder, DynamicMetaObject value) { Class146 <T> class2 = new Class146 <T> { setMemberBinder_0 = binder, dynamicMetaObject_0 = value, class143_0 = (Class143 <T>) this }; if (!this.method_0("TrySetMember")) { return(base.BindSetMember(class2.setMemberBinder_0, class2.dynamicMetaObject_0)); } return(this.method_3("TrySetMember", class2.setMemberBinder_0, Class143 <T> .smethod_0(new DynamicMetaObject[] { class2.dynamicMetaObject_0 }), new Delegate2 <T>(class2.method_0))); }
public Class145(Class146 A_0, int A_1, int A_2) { this.class146_0 = A_0; this.int_0 = A_1; this.int_1 = A_2; }
internal void method_0(Class764 A_0, Class146 A_1, int A_2) { this.class764_0 = A_0; this.class145_0 = A_1.method_15(A_2); }
public abstract void Visit(Class146 c);
public override void Visit(Class146 c) { }
// Token: 0x060004E5 RID: 1253 RVA: 0x00028164 File Offset: 0x00026364 public static Class139 smethod_1(object object_0, Type type_0) { Class139 @class = object_0 as Class139; if (@class != null) { return(@class); } if (type_0 == null) { if (object_0 == null) { return(new Class166()); } type_0 = object_0.GetType(); } type_0 = Class102.smethod_1(type_0); if (type_0 == Class28.type_0) { @class = new Class166(); if (object_0 != null && object_0.GetType() != Class28.type_0) { @class.method_1(object_0.GetType()); } } else if (Class99.smethod_0 <Array>(type_0)) { @class = new Class140(); } else if (Class99.smethod_0 <string>(type_0)) { @class = new Class143(); } else if (Class99.smethod_0 <IntPtr>(type_0)) { @class = new Class146(); } else if (Class99.smethod_0 <UIntPtr>(type_0)) { @class = new Class157(); } else if (Class99.smethod_0 <ulong>(type_0)) { @class = new Class165(); } else if (Class99.smethod_0 <uint>(type_0)) { @class = new Class163(); } else if (Class99.smethod_0 <ushort>(type_0)) { @class = new Class159(); } else if (Class99.smethod_0 <long>(type_0)) { @class = new Class156(); } else if (Class99.smethod_0 <int>(type_0)) { @class = new Class145(); } else if (Class99.smethod_0 <short>(type_0)) { @class = new Class141(); } else if (Class99.smethod_0 <byte>(type_0)) { @class = new Class164(); } else if (Class99.smethod_0 <sbyte>(type_0)) { @class = new Class161(); } else if (Class99.smethod_0 <double>(type_0)) { @class = new Class158(); } else if (Class99.smethod_0 <float>(type_0)) { @class = new Class162(); } else if (Class99.smethod_0 <bool>(type_0)) { @class = new Class144(); } else if (Class99.smethod_0 <char>(type_0)) { @class = new Class155(); } else if (Class28.smethod_0(type_0)) { Class166 class2 = new Class166(); class2.method_1(type_0); @class = class2; } else { if (Class99.smethod_0 <Enum>(type_0)) { Enum enum_; if (object_0 == null) { if (type_0 == Class28.type_2) { enum_ = null; } else { enum_ = (Enum)Activator.CreateInstance(type_0); } } else if (type_0 == Class28.type_2 && object_0 is Enum) { enum_ = (Enum)object_0; } else { enum_ = (Enum)Enum.ToObject(type_0, object_0); } return(new Class160(enum_)); } if (Class99.smethod_0 <ValueType>(type_0)) { if (object_0 == null) { object object_; if (type_0 == Class28.type_3) { object_ = null; } else { object_ = Activator.CreateInstance(type_0); } @class = new Class154(object_); } else { if (object_0.GetType() != type_0) { try { object_0 = Convert.ChangeType(object_0, type_0); } catch { } } @class = new Class154(object_0); } return(@class); } @class = new Class166(); } if (object_0 != null) { @class.vmethod_1(object_0); } return(@class); }