Пример #1
0
            public override int IndexOf(Int64 x)
            {
                int result = 0;

                rwLock.AcquireReaderLock(timeout);

                try
                {
                    result = collection.IndexOf(x);
                }
                finally
                {
                    rwLock.ReleaseReaderLock();
                }

                return(result);
            }
Пример #2
0
 public override int IndexOf(Int64 x)
 {
     return(m_collection.IndexOf(x));
 }