Example #1
0
        // Token: 0x06001562 RID: 5474 RVA: 0x000668E0 File Offset: 0x00064AE0
        private void cmethod_3934(Class_296 arg_0, IDictionary arg_1, Class_453 arg_2, Class_454 arg_3, Class_350 arg_4, Class_454 arg_5)
        {
            Class_503 class_ = arg_1 as Class_503;
            object    obj    = (class_ != null) ? class_.prop_0 : arg_1;

            this.vmethod_3915(arg_0, arg_2, obj);
            this.field_2.Add(obj);
            this.pmethod_3919(arg_0, obj, arg_2, arg_3, arg_4, arg_5);
            if (arg_2.prop_0 == null)
            {
                arg_2.prop_0 = this.field_3.field_11.tmethod_3542(arg_2.prop_2 ?? typeof(object));
            }
            if (arg_2.prop_3 == null)
            {
                arg_2.prop_3 = this.field_3.field_11.tmethod_3542(arg_2.prop_1 ?? typeof(object));
            }
            int sayıInt_ = arg_0.prop_1;

            foreach (object obj2 in arg_1)
            {
                DictionaryEntry dictionaryEntry = (DictionaryEntry)obj2;
                bool            bool_;
                string          text = this.vmethod_3935(arg_0, dictionaryEntry.Key, arg_2.prop_3, out bool_);
                text = ((arg_2.prop_0 != null) ? arg_2.prop_0(text) : text);
                try
                {
                    object    value   = dictionaryEntry.Value;
                    Class_349 class_2 = arg_2.prop_1 ?? this.cmethod_3904(value);
                    if (this.lmethod_3908(value, null, class_2, arg_2, arg_3))
                    {
                        arg_0.cmethod_2014(text, bool_);
                        this.xmethod_3911(arg_0, value);
                    }
                    else if (this.smethod_3910(arg_0, value, null, class_2, arg_2, arg_3))
                    {
                        arg_0.cmethod_2014(text, bool_);
                        this.dmethod_3906(arg_0, value, class_2, null, arg_2, arg_3);
                    }
                }
                catch (Exception arg_6)
                {
                    if (!base.smethod_3850(obj, arg_2, text, null, arg_0.prop_3, arg_6))
                    {
                        throw;
                    }
                    this.dmethod_3936(arg_0, sayıInt_);
                }
            }
            arg_0.lmethod_2008();
            this.field_2.RemoveAt(this.field_2.Count - 1);
            this.dmethod_3916(arg_0, arg_2, obj);
        }
Example #2
0
        // Token: 0x06001546 RID: 5446 RVA: 0x0006521C File Offset: 0x0006341C
        private void dmethod_3906(Class_296 arg_0, object obje_0, Class_349 arg_1, Class_454 arg_2, Class_350 arg_3, Class_454 arg_4)
        {
            if (obje_0 == null)
            {
                arg_0.gmethod_2033();
                return;
            }
            Class_299 class_;

            if ((class_ = ((arg_2 != null) ? arg_2.prop_8 : null)) == null && (class_ = ((arg_4 != null) ? arg_4.prop_25 : null)) == null && (class_ = ((arg_3 != null) ? arg_3.prop_2 : null)) == null && (class_ = arg_1.prop_3) == null)
            {
                class_ = (this.field_3.smethod_3180(arg_1.prop_0) ?? arg_1.prop_4);
            }
            Class_299 class_2 = class_;

            if (class_2 != null && class_2.prop_1)
            {
                this.vmethod_3925(arg_0, class_2, obje_0, arg_1, arg_3, arg_4);
                return;
            }
            switch (arg_1.field_5)
            {
            case Class_448.Object:
                this.kmethod_3917(arg_0, obje_0, (Class_464)arg_1, arg_2, arg_3, arg_4);
                return;

            case Class_448.Array:
            {
                Class_447 class_3 = (Class_447)arg_1;
                if (!class_3.prop_1)
                {
                    this.dmethod_3926(arg_0, (IEnumerable)obje_0, class_3, arg_2, arg_3, arg_4);
                    return;
                }
                this.kmethod_3927(arg_0, (Array)obje_0, class_3, arg_2, arg_3, arg_4);
                return;
            }

            case Class_448.Primitive:
                this.vmethod_3905(arg_0, obje_0, (Class_369)arg_1, arg_2, arg_3, arg_4);
                return;

            case Class_448.String:
                this.cmethod_3914(arg_0, obje_0, (Class_469)arg_1);
                return;

            case Class_448.Dictionary:
            {
                Class_453 class_4 = (Class_453)arg_1;
                this.cmethod_3934(arg_0, (obje_0 is IDictionary) ? ((IDictionary)obje_0) : class_4.pmethod_3639(obje_0), class_4, arg_2, arg_3, arg_4);
                return;
            }

            case Class_448.Dynamic:
                this.xmethod_3931(arg_0, (IDynamicMetaObjectProvider)obje_0, (Class_365)arg_1, arg_2, arg_3, arg_4);
                return;

            case Class_448.Serializable:
                this.smethod_3930(arg_0, (ISerializable)obje_0, (Class_367)arg_1, arg_2, arg_3, arg_4);
                return;

            case Class_448.Linq:
                ((Class_361)obje_0).cmethod_2474(arg_0, this.field_3.prop_13.ToArray <Class_299>());
                return;

            default:
                return;
            }
        }