Esempio n. 1
0
 public int IndexOf(T item, int index)
 {
     if (index > this.m_size)
     {
         ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_Index);
     }
     return(MarshalArrayBase.IndexOf <T>(this.m_items, item, index, this.m_size - index));
 }
Esempio n. 2
0
 public int IndexOf(T item)
 {
     return(MarshalArrayBase.IndexOf <T>(this.m_items, item, 0, this.m_size));
 }