Beispiel #1
0
        // Token: 0x0600122F RID: 4655 RVA: 0x00058CB4 File Offset: 0x00056EB4
        internal virtual void lmethod_3278(object obje_0, Class_328 arg_0)
        {
            Class_421 class_ = obje_0 as Class_421;

            if (class_ == null)
            {
                return;
            }
            if (class_.prop_1 != null)
            {
                this.prop_1 = class_.prop_1;
            }
            Class_420.dmethod_3276(this, class_, arg_0);
        }
Beispiel #2
0
        // Token: 0x0600123E RID: 4670 RVA: 0x00058EB8 File Offset: 0x000570B8
        public static Class_421 lmethod_3288(Class_285 arg_0)
        {
            if (arg_0.prop_9 == Class_508.None && !arg_0.vmethod_1885())
            {
                throw Class_414.lmethod_3098(arg_0, "Error reading JConstructor from JsonReader.");
            }
            while (arg_0.prop_9 == Class_508.Comment)
            {
                arg_0.vmethod_1885();
            }
            if (arg_0.prop_9 != Class_508.StartConstructor)
            {
                throw Class_414.lmethod_3098(arg_0, "Error reading JConstructor from JsonReader. Current JsonReader item is not a constructor: {0}".FormatWith(CultureInfo.InvariantCulture, arg_0.prop_9));
            }
            Class_421 class_ = new Class_421((string)arg_0.prop_10);

            class_.lmethod_2568(arg_0 as Class_353);
            class_.pmethod_3229(arg_0);
            return(class_);
        }
Beispiel #3
0
        // Token: 0x06001238 RID: 4664 RVA: 0x00058D74 File Offset: 0x00056F74
        internal virtual bool tmethod_3282(Class_361 arg_0)
        {
            Class_421 class_ = arg_0 as Class_421;

            return(class_ != null && this.field_0 == class_.prop_1 && base.dmethod_3196(class_));
        }
Beispiel #4
0
 // Token: 0x06001234 RID: 4660 RVA: 0x00058D12 File Offset: 0x00056F12
 public Class_421(Class_421 arg_0) : base(arg_0)
 {
     this.field_0 = arg_0.prop_1;
 }
Beispiel #5
0
        // Token: 0x060011F1 RID: 4593 RVA: 0x00058320 File Offset: 0x00056520
        internal void smethod_3230(Class_285 arg_0)
        {
            Class_517.ArgumentNotNull(arg_0, "r");
            Class_353 arg_   = arg_0 as Class_353;
            Class_420 class_ = this;

            for (;;)
            {
                if (class_ is Class_427 && ((Class_427)class_).prop_2 != null)
                {
                    if (class_ == this)
                    {
                        break;
                    }
                    class_ = class_.prop_1;
                }
                switch (arg_0.prop_9)
                {
                case Class_508.None:
                    goto IL_22F;

                case Class_508.StartObject:
                {
                    Class_423 class_2 = new Class_423();
                    class_2.lmethod_2568(arg_);
                    class_.lmethod_3218(class_2);
                    class_ = class_2;
                    goto IL_22F;
                }

                case Class_508.StartArray:
                {
                    Class_424 class_3 = new Class_424();
                    class_3.lmethod_2568(arg_);
                    class_.lmethod_3218(class_3);
                    class_ = class_3;
                    goto IL_22F;
                }

                case Class_508.StartConstructor:
                {
                    Class_421 class_4 = new Class_421(arg_0.prop_10.ToString());
                    class_4.lmethod_2568(arg_);
                    class_.lmethod_3218(class_4);
                    class_ = class_4;
                    goto IL_22F;
                }

                case Class_508.PropertyName:
                {
                    string    str_    = arg_0.prop_10.ToString();
                    Class_427 class_5 = new Class_427(str_);
                    class_5.lmethod_2568(arg_);
                    Class_423 class_6 = (Class_423)class_;
                    Class_427 class_7 = class_6.gmethod_3303(str_);
                    if (class_7 == null)
                    {
                        class_.lmethod_3218(class_5);
                    }
                    else
                    {
                        class_7.gmethod_2473(class_5);
                    }
                    class_ = class_5;
                    goto IL_22F;
                }

                case Class_508.Comment:
                {
                    Class_362 class_8 = Class_362.vmethod_2595(arg_0.prop_10.ToString());
                    class_8.lmethod_2568(arg_);
                    class_.lmethod_3218(class_8);
                    goto IL_22F;
                }

                case Class_508.Integer:
                case Class_508.Float:
                case Class_508.String:
                case Class_508.Boolean:
                case Class_508.Date:
                case Class_508.Bytes:
                {
                    Class_362 class_8 = new Class_362(arg_0.prop_10);
                    class_8.lmethod_2568(arg_);
                    class_.lmethod_3218(class_8);
                    goto IL_22F;
                }

                case Class_508.Null:
                {
                    Class_362 class_8 = Class_362.kmethod_2597();
                    class_8.lmethod_2568(arg_);
                    class_.lmethod_3218(class_8);
                    goto IL_22F;
                }

                case Class_508.Undefined:
                {
                    Class_362 class_8 = Class_362.lmethod_2598();
                    class_8.lmethod_2568(arg_);
                    class_.lmethod_3218(class_8);
                    goto IL_22F;
                }

                case Class_508.EndObject:
                    if (class_ == this)
                    {
                        return;
                    }
                    class_ = class_.prop_1;
                    goto IL_22F;

                case Class_508.EndArray:
                    if (class_ == this)
                    {
                        return;
                    }
                    class_ = class_.prop_1;
                    goto IL_22F;

                case Class_508.EndConstructor:
                    if (class_ == this)
                    {
                        return;
                    }
                    class_ = class_.prop_1;
                    goto IL_22F;
                }
                goto Block_4;
IL_22F:
                if (!arg_0.vmethod_1885())
                {
                    return;
                }
            }
            return;

Block_4:
            throw new InvalidOperationException("The JsonReader should not be on a token of type {0}.".FormatWith(CultureInfo.InvariantCulture, arg_0.prop_9));
        }