Exemplo n.º 1
0
        // Token: 0x060011DE RID: 4574 RVA: 0x00057E3C File Offset: 0x0005603C
        internal virtual void xmethod_3211(int sayıInt_0, Class_361 arg_0)
        {
            if (sayıInt_0 < 0)
            {
                throw new ArgumentOutOfRangeException("index", "Index is less than 0.");
            }
            if (sayıInt_0 >= this.prop_0.Count)
            {
                throw new ArgumentOutOfRangeException("index", "Index is equal to or greater than Count.");
            }
            Class_361 class_ = this.prop_0[sayıInt_0];

            if (Class_420.dmethod_3216(class_, arg_0))
            {
                return;
            }
            this.smethod_3190();
            arg_0 = this.vmethod_3205(arg_0, false);
            this.kmethod_3217(arg_0, class_);
            Class_361 class_2 = (sayıInt_0 == 0) ? null : this.prop_0[sayıInt_0 - 1];
            Class_361 class_3 = (sayıInt_0 == this.prop_0.Count - 1) ? null : this.prop_0[sayıInt_0 + 1];

            arg_0.prop_1 = this;
            arg_0.prop_6 = class_2;
            if (class_2 != null)
            {
                class_2.prop_5 = arg_0;
            }
            arg_0.prop_5 = class_3;
            if (class_3 != null)
            {
                class_3.prop_6 = arg_0;
            }
            this.prop_0[sayıInt_0] = arg_0;
            class_.prop_1          = null;
            class_.prop_6          = null;
            class_.prop_5          = null;
            if (this.field_0 != null)
            {
                this.gmethod_3193(new ListChangedEventArgs(ListChangedType.ItemChanged, sayıInt_0));
            }
            if (this.field_2 != null)
            {
                this.cmethod_3194(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, arg_0, class_, sayıInt_0));
            }
        }
Exemplo n.º 2
0
 // Token: 0x060012F2 RID: 4850 RVA: 0x0005A8B8 File Offset: 0x00058AB8
 internal virtual void vmethod_3435(int sayıInt_0, Class_361 arg_0)
 {
     if (sayıInt_0 != 0)
     {
         throw new ArgumentOutOfRangeException();
     }
     if (Class_420.dmethod_3216(this.prop_2, arg_0))
     {
         return;
     }
     if (base.prop_1 != null)
     {
         ((Class_423)base.prop_1).pmethod_3299(this);
     }
     base.xmethod_3211(0, arg_0);
     if (base.prop_1 != null)
     {
         ((Class_423)base.prop_1).lmethod_3298(this);
     }
 }