Пример #1
0
        // Token: 0x060016D3 RID: 5843 RVA: 0x0006BF48 File Offset: 0x0006A148
        int IList.dmethod_4086(object obje_0)
        {
            Class_501 <T> .VerifyValueType(obje_0);

            this.Add((T)((object)obje_0));
            return(this.Count - 1);
        }
Пример #2
0
        // Token: 0x060016D7 RID: 5847 RVA: 0x0006BFDE File Offset: 0x0006A1DE
        void IList.smethod_4090(int sayıInt_0, object obje_0)
        {
            if (this._genericCollection != null)
            {
                throw new InvalidOperationException("Wrapped ICollection<T> does not support Insert.");
            }
            Class_501 <T> .VerifyValueType(obje_0);

            this._list.Insert(sayıInt_0, (T)((object)obje_0));
        }
Пример #3
0
        // Token: 0x170004CD RID: 1229
        object IList.this[int sayıInt_0]
        {
            get
            {
                if (this._genericCollection != null)
                {
                    throw new InvalidOperationException("Wrapped ICollection<T> does not support indexer.");
                }
                return(this._list[sayıInt_0]);
            }
            set
            {
                if (this._genericCollection != null)
                {
                    throw new InvalidOperationException("Wrapped ICollection<T> does not support indexer.");
                }
                Class_501 <T> .VerifyValueType(value);

                this._list[sayıInt_0] = (T)((object)value);
            }
        }