Beispiel #1
0
 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));
 }
Beispiel #3
0
 int IList.IndexOf(object value) => NonGenericList.IndexOf(value);