예제 #1
0
 internal ChunkedListEnumerator(ChunkedList <T> list)
 {
     this.list = list;
     index     = 0;
     version   = list._version;
     current   = default(T);
 }
예제 #2
0
            public bool MoveNext()
            {
                ChunkedList <T> localList = list;

                if (version == localList._version && ((uint)index < (uint)localList.Count))
                {
                    current = localList[index];
                    index++;
                    return(true);
                }
                return(MoveNextRare());
            }