コード例 #1
0
                public bool MoveNext()
                {
                    ArgIterator arglist = (ArgIterator)Arglist;

                    state = 0;
                    if (arglist.GetRemainingCount() == 0)
                    {
                        state = 1;
                        return(false);
                    }
                    current = TypedReference.ToObject(arglist.GetNextArg());
                    Arglist = UnsafeTools.Box(arglist);
                    return(true);
                }
コード例 #2
0
 public ArgListEnumerable(ArgIterator arglist)
 {
     Arglist = UnsafeTools.Box(arglist);
     Initial = UnsafeTools.Box(arglist);
 }