internal Enumerator(UnorderedList <T> list) { this.list = list; index = 0; version = list._version; current = default(T); }
public bool MoveNext() { UnorderedList <T> localList = list; if (version == localList._version && ((uint)index < (uint)localList._size)) { current = localList._items[index]; index++; return(true); } return(MoveNextRare()); }
internal SynchronizedList(UnorderedList <T> list) { _list = list; _root = ((System.Collections.ICollection)list).SyncRoot; }
internal static IList <T> Synchronized(UnorderedList <T> list) { return(new SynchronizedList(list)); }