Esempio n. 1
0
            public bool MoveNext()
            {
                FastCollection <T> list = this.list;

                if (index < list.size)
                {
                    current = list.items[index];
                    index++;
                    return(true);
                }
                return(MoveNextRare());
            }
Esempio n. 2
0
 internal Enumerator(FastCollection <T> list)
 {
     this.list = list;
     index     = 0;
     current   = default(T);
 }