int System.Collections.IList.Add(object value) { CollectionWrapper <T> .VerifyValueType(value); this.Add((T)value); return(this.Count - 1); }
void System.Collections.IList.Insert(int index, object value) { if (this._genericCollection != null) { throw new Exception("Wrapped ICollection<T> does not support Insert."); } CollectionWrapper <T> .VerifyValueType(value); this._list.Insert(index, (T)value); }
void IList.set_Item(int index, object value) { if (this._genericCollection != null) { throw new InvalidOperationException("Wrapped ICollection<T> does not support indexer."); } CollectionWrapper <T> .VerifyValueType(value); this._list[index] = (object)(T)value; }
// Token: 0x06000E67 RID: 3687 RVA: 0x00010F2F File Offset: 0x0000F12F void IList.Insert(int index, object value) { if (this._genericCollection != null) { throw new InvalidOperationException("Wrapped ICollection<T> does not support Insert."); } CollectionWrapper <T> .VerifyValueType(value); this._list.Insert(index, (T)((object)value)); }
object System.Collections.IList.this[int index] { get { if (this._genericCollection != null) { throw new Exception("Wrapped ICollection<T> does not support indexer."); } return(this._list[index]); } set { if (this._genericCollection != null) { throw new Exception("Wrapped ICollection<T> does not support indexer."); } CollectionWrapper <T> .VerifyValueType(value); this._list[index] = (T)value; } }