public int IndexOf(T item) { if (ProxyIndexOf != null) { return(ProxyIndexOf(item)); } else if (GenericList != null) { return(GenericList.IndexOf(item)); } else if (NonGenericList != null) { return(NonGenericList.IndexOf(item)); } else { throw new NotImplementedException(); } }
int IList.IndexOf(object value) { return(NonGenericList.IndexOf(value)); }
int IList.IndexOf(object value) => NonGenericList.IndexOf(value);