Beispiel #1
0
 void IList.Remove(object value)
 {
     if (Class183 <T> .smethod_1(value))
     {
         this.Remove((T)value);
     }
 }
Beispiel #2
0
 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");
     }
 }
Beispiel #3
0
 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);
 }
Beispiel #4
0
 bool IList.Contains(object value)
 {
     return(Class183 <T> .smethod_1(value) && this.Contains((T)value));
 }