src/sys/dotnet/perwapi/PERWAPI.cs
/// <summary>
/// Get the next instruction in the instruction buffer in sequence.
/// An internal index is kept to keep track of which instruction was the last
/// retrieved by this method.  On the first call, the first instruction in
/// the buffer is retrieved.  The instruction index may be zeroed
/// using ResetInstCounter().  This method cannot be called when in "insert" mode.
/// </summary>
/// <returns></returns>
Get the next instruction in the instruction buffer in sequence.
An internal index is kept to keep track of which instruction was the last
retrieved by this method.  On the first call, the first instruction in
the buffer is retrieved.  The instruction index may be zeroed
using ResetInstCounter().  This method cannot be called when in "insert" mode.
Get the next instruction in the instruction buffer in sequence . An internal index is kept to keep track of which instruction was the last retrieved by this method . On the first call the first instruction in the buffer is retrieved . The instruction index may be zeroed using ResetInstCounter () . This method cannot be called when in " insert " mode .
public CILInstruction GetNextInstruction() {
            if (inserting) throw new Exception("Cannot access next instruction during insert");
            if (currI+1 < tide)
                return buffer[++currI];
            return null;
        }
public CILInstruction GetNextInstruction ( ) { if ( inserting ) throw new Exception ( " " ) ; if ( currI + 1 < tide ) return buffer [ ++ currI ] ; return null ; }
Get the next instruction in the instruction buffer in sequence.
Get the next instruction in the instruction buffer in sequence .
None