This class contains the infrastructure to return an OpCode instance given an opcode's name.
See Also: Inherited members from object.
|
Constructs a new InstructionHelper". |
Constructs a new InstructionHelper".
Syntax
public InstructionHelper ()Remarks
Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 11.2.7.3, 11.2.7.5, 11.2.7.6, 11.2.7.7, 11.2.7.8, 11.2.7.9, 11.2.8.1, 11.2.8.4, 11.2.8.5, 11.2.8.6, 11.2.8.7, 11.2.8.9, 11.2.9.1, 11.2.9.2, 11.2.9.3
Compares 2 strings.
Syntax
Parameters
- s1
- The first string.
- s2
- The second string.
Returns
True if the strings are equal else returns False.Remarks
This is mostly used as infrastructure for the getOPCode method.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 11.2.7.3, 11.2.7.5, 11.2.7.6, 11.2.7.7, 11.2.7.8, 11.2.7.9, 11.2.8.1, 11.2.8.4, 11.2.8.5, 11.2.8.6, 11.2.8.7
Fetches the OpCode instance corresponding to the opcode name supplied.
Syntax
public static System.Reflection.Emit.OpCode getOPCode (string code)Parameters
- code
- The opcode name as it is used in the 'ILAsm' language e.g. ldc.i4, ldnull, newobj etc..
Returns
An OpCode instance.Remarks
See the source code for this method to determine if the opcode you want is supported.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 11.2.7.3, 11.2.7.5, 11.2.7.6, 11.2.7.7, 11.2.7.8, 11.2.7.9, 11.2.8.1, 11.2.8.4, 11.2.8.5, 11.2.8.6, 11.2.8.7, 11.2.8.9, 11.2.9.1, 11.2.9.2, 11.2.9.3