void IList.Insert(int index, object value) { if (value == null) { throw new ArgumentNullException("value"); } NonGenericList.Insert(index, value); }
public void Insert(int index, T item) { if (ProxyInsert != null) { ProxyInsert(index, item); } else if (GenericList != null) { GenericList.Insert(index, item); } else if (NonGenericList != null) { NonGenericList.Insert(index, item); } else { throw new NotImplementedException(); } }