Méthode | Description | |
---|---|---|
CopyInstruction ( |
Creates a new IL instruction that is a copy of the provided one. Does not link the new instruction to a method.
|
|
ReplaceInstruction ( |
Replaces the insturction with another by replacing the opcode and the operand. Unlike ILProcessor.Replace, preserves the references to the original instruction (which branches might use, for instance).
|
public static CopyInstruction ( |
||
ins | Instruction to copy. | |
Résultat |
public static ReplaceInstruction ( |
||
original | The instruction to replace. | |
newIns | The instruction to replace with. | |
Résultat | void |