public bool MoveNext()
 {
     state.LuaRawGetI(-1, index);
     current = state.ToVariant(-1);
     state.LuaPop(1);
     ++index;
     return(current == null ? false : true);
 }