Example #1
0
        // Token: 0x060012FF RID: 4863 RVA: 0x0005AAAC File Offset: 0x00058CAC
        public virtual void vmethod_3445(Class_296 arg_0, params Class_299[] arg_1)
        {
            arg_0.gmethod_2013(this.field_1);
            Class_361 class_ = this.prop_2;

            if (class_ != null)
            {
                class_.cmethod_2474(arg_0, arg_1);
                return;
            }
            arg_0.gmethod_2033();
        }
Example #2
0
 // Token: 0x06000F48 RID: 3912 RVA: 0x0004EC40 File Offset: 0x0004CE40
 private void cmethod_2774(IList <Class_431> arg_0)
 {
     foreach (Class_381.NClass_0 nclass_ in this.field_1)
     {
         bool flag = nclass_.nprop_7 == Class_428.Array && nclass_.nprop_2 && nclass_.nprop_1 > 0;
         if (!flag)
         {
             if (Class_381.field_7 == null)
             {
                 Class_381.field_7 = new Func <Class_431, bool>(Class_381.gmethod_2793);
             }
             if (!arg_0.Any(Class_381.field_7))
             {
                 continue;
             }
         }
         if (nclass_.nprop_4 == null)
         {
             if (Class_486.IsEndToken(this.field_0.prop_9))
             {
                 continue;
             }
             nclass_.nprop_4 = new Class_426();
         }
         nclass_.nprop_4.kmethod_2017(this.field_0, false);
         if (nclass_.nprop_4.prop_1 == 0 && this.field_0.prop_9 != Class_508.PropertyName)
         {
             Class_361 class_ = nclass_.nprop_4.prop_1;
             nclass_.nprop_4 = null;
             if (flag)
             {
                 if (nclass_.nprop_3.Contains(class_, Class_361.prop_0))
                 {
                     string str_ = "Non-unique array item at index {0}.".FormatWith(CultureInfo.InvariantCulture, nclass_.nprop_1 - 1);
                     IEnumerable <Class_431> source = nclass_.nprop_5;
                     if (Class_381.field_8 == null)
                     {
                         Class_381.field_8 = new Func <Class_431, bool>(Class_381.cmethod_2794);
                     }
                     this.pmethod_2759(str_, source.First(Class_381.field_8));
                 }
                 nclass_.nprop_3.Add(class_);
             }
             else
             {
                 if (Class_381.field_9 == null)
                 {
                     Class_381.field_9 = new Func <Class_431, bool>(Class_381.vmethod_2795);
                 }
                 if (arg_0.Any(Class_381.field_9))
                 {
                     foreach (Class_431 class_2 in arg_0)
                     {
                         if (class_2.prop_21 != null && !class_2.prop_21.ContainsValue(class_, Class_361.prop_0))
                         {
                             StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture);
                             class_.cmethod_2474(new Class_412(stringWriter), new Class_299[0]);
                             this.pmethod_2759("Value {0} is not defined in enum.".FormatWith(CultureInfo.InvariantCulture, stringWriter.ToString()), class_2);
                         }
                     }
                 }
             }
         }
     }
 }