/// <summary> /// Determines whether [contains] [the specified item]. /// </summary> /// <param name="item">The item.</param> /// <returns> /// <c>true</c> if [contains] [the specified item]; otherwise, <c>false</c>. /// </returns> bool IList.Contains(object item) => (EventedList <T> .IsCompatibleObject(item) && Contains((T)item));
/// <summary> /// Inserts the specified index. /// </summary> /// <param name="index">The index.</param> /// <param name="item">The item.</param> void IList.Insert(int index, object item) { EventedList <T> .VerifyValueType(item); Insert(index, (T)item); }
/// <summary> /// Determines whether [contains] [the specified item]. /// </summary> /// <param name="item">The item.</param> /// <returns> /// <c>true</c> if [contains] [the specified item]; otherwise, <c>false</c>. /// </returns> bool IList.Contains(object item) { return(EventedList <T> .IsCompatibleObject(item) && this.Contains((T)item)); }