void IList.Remove(object value) { if (Class183 <T> .smethod_1(value)) { this.Remove((T)value); } }
int IList.Add(object value) { Class183 <T> .smethod_0(value); this.Add((T)value); return(this.Count - 1); }
private static void smethod_0(object object_1) { if (!Class183 <T> .smethod_1(object_1)) { throw new ArgumentException("The value '{0}' is not of type '{1}' and cannot be used in this generic collection.".smethod_1(CultureInfo.InvariantCulture, object_1, typeof(T)), "value"); } }
void IList.Insert(int index, object value) { if (this.icollection_0 != null) { throw new InvalidOperationException("Wrapped ICollection<T> does not support Insert."); } Class183 <T> .smethod_0(value); this.ilist_0.Insert(index, (T)value); }
int IList.IndexOf(object value) { if (this.icollection_0 != null) { throw new InvalidOperationException("Wrapped ICollection<T> does not support IndexOf."); } if (Class183 <T> .smethod_1(value)) { return(this.ilist_0.IndexOf((T)value)); } return(-1); }
object IList.this[int index] { get { if (this.icollection_0 != null) { throw new InvalidOperationException("Wrapped ICollection<T> does not support indexer."); } return(this.ilist_0[index]); } set { if (this.icollection_0 != null) { throw new InvalidOperationException("Wrapped ICollection<T> does not support indexer."); } Class183 <T> .smethod_0(value); this.ilist_0[index] = (T)value; } }
bool IList.Contains(object value) { return(Class183 <T> .smethod_1(value) && this.Contains((T)value)); }