void IList.Remove(object value) { if (value == null) { throw new ArgumentNullException("value"); } NonGenericList.Remove(value); }
public bool Remove(T item) { if (ProxyRemove != null) { return(ProxyRemove(item)); } else if (GenericList != null) { return(GenericList.Remove(item)); } else if (NonGenericList != null) { NonGenericList.Remove(item); return(true); } else { throw new NotImplementedException(); } }