src/sys/dotnet/perwapi/PERWAPI.cs
/// <summary>
/// Set the instruction to be the new array of instructions, this will replace
/// any existing instructions.  This method cannot be called when in "insert" mode.
/// </summary>
/// <param name="insts">The new instructions</param>
Set the instruction to be the new array of instructions, this will replace
any existing instructions.  This method cannot be called when in "insert" mode.
Set the instruction to be the new array of instructions this will replace any existing instructions . This method cannot be called when in " insert " mode .
public void SetInstructions(CILInstruction[] insts) {
            if (inserting) throw new Exception("Cannot replace instructions during insert.");
            buffer = insts;
            tide = buffer.Length;
            for (int i=0; i < tide; i++) {
                if (insts[i] == null)
                    tide = i;
                insts[i].index = (uint)i;
            }
        }
public void SetInstructions ( CILInstruction [ ] insts ) { if ( inserting ) throw new Exception ( " " ) ; buffer = insts ; tide = buffer . Length ; for ( int i = 0 ; i < tide ; i ++ ) { if ( insts [ i ] == null ) tide = i ; insts [ i ] . index = ( uint ) i ; } }
Set the instruction to be the new array of instructions, this will replace
any existing instructions.
Set the instruction to be the new array of instructions this will replace any existing instructions .
insts
CILInstruction[]
The new instructions
The new instructions