This class contains methods used for emitting opcodes to the current IL generator.
See Also: Inherited members from object.
|
ILEmitter
()
|
Initialises this class. |
static
|
AbstractFlg | bool . Documentation for this section has not yet been entered. |
static
|
ArgInd | int . The index for the last declared argument. |
static
|
Constr | System.Reflection.Emit.ConstructorBuilder . Holds the current ConstructorBuilder. |
static
|
CurSrcFile | string . Documentation for this section has not yet been entered. |
static
|
DebugFlg | bool . If debugging is enabled this flag is set else it is unset (false). |
static
|
DocWriter | System.Diagnostics.SymbolStore.ISymbolDocumentWriter . Holds the current symbol writer. |
static
|
DocWriters | System.Diagnostics.SymbolStore.ISymbolDocumentWriter[]. Documentation for this section has not yet been entered. |
static
|
ILGen | System.Reflection.Emit.ILGenerator . Holds the current IL Generator. |
static
|
LineNr | int . Documentation for this section has not yet been entered. |
static
|
LocInd | int . The index for the last declared variable. |
static
|
Met | System.Reflection.Emit.MethodBuilder . Holds the current MethodBuilder. |
static
|
SrcFiles | string[]. Documentation for this section has not yet been entered. |
static
|
StaticFlg | bool . Set if the current method is static else unset. |
static
|
AddDocWriter
(System.Diagnostics.SymbolStore.ISymbolDocumentWriter)Documentation for this section has not yet been entered. |
|
static
|
AddSrcFile
(string)Documentation for this section has not yet been entered. |
|
static
|
DeclVar
(string, Type)Declares a variable in the current method with the given name and type. |
|
static
|
DefineLbl
()Defines a label in the current method. |
|
static
|
EmitAdd
(bool)Emits variants of the 'add' opcode accrodingly. |
|
static
|
EmitAnd
()Emits the 'and' opcode. |
|
static
|
EmitBox
(Type)Emits the 'box' opcode. |
|
static
|
EmitBr
(System.Reflection.Emit.Label)Emits a 'br' opcode. |
|
static
|
EmitBrfalse
(System.Reflection.Emit.Label)Emits the 'brfalse' opcode. |
|
static
|
EmitBrtrue
(System.Reflection.Emit.Label)Emits the 'brtrue' opcode. |
|
static
|
EmitCall
(System.Reflection.MethodInfo)Emits the 'call' opcode. |
|
static
|
EmitCallCtor
(System.Reflection.ConstructorInfo)Emits a 'call' opcode specifically for constructors. |
|
static
|
EmitCallvirt
(System.Reflection.MethodInfo)Emits the 'callvirt' opcode. |
|
static
|
EmitCastclass
(Type)Documentation for this section has not yet been entered. |
|
static
|
EmitCatch
(Type)Documentation for this section has not yet been entered. |
|
static
|
EmitCeq
()Emits the 'ceq' opcode. |
|
static
|
EmitCge
(bool)Emits a sequence of 'clt(.un)' , 'ldc.i4.0' and 'ceq'. |
|
static
|
EmitCgt
(bool)Emits the 'cgt(.un)' opcode. |
|
static
|
EmitCle
(bool)Emits a sequence of 'cgt(.un)' , 'ldc.i4.0' and 'ceq'. |
|
static
|
EmitClt
(bool)Emits the 'clt(.un)' opcode. |
|
static
|
EmitCneq
()Emits a sequence of 'ceq', 'ldc.i4.0' and 'ceq'. |
|
static
|
EmitConstrained
(Type)Emits the 'constrained.' prefix. |
|
static
|
EmitConvI
()Emits the 'conv.i' opcode. |
|
static
|
EmitConvI4
()Emits the 'conv.i4' opcode. |
|
static
|
EmitConvU
()Emits the 'conv.u' opcode. |
|
static
|
EmitDelegateAdd
()Emits a 'call' to Delegate.Combine. |
|
static
|
EmitDelegateSub
()Emits a 'call' to Delegate.Remove. |
|
static
|
EmitDiv
(bool)Emits the variants of the 'div' opcode accordingly. |
|
static
|
EmitDup
()Emits the 'dup' opcode. |
|
static
|
EmitEndTry
()Documentation for this section has not yet been entered. |
|
static
|
EmitFinally
()Documentation for this section has not yet been entered. |
|
static
|
EmitIs
(Type)Documentation for this section has not yet been entered. |
|
static
|
EmitIsinst
(Type)Documentation for this section has not yet been entered. |
|
static
|
EmitLdarg
(int)Emits one of the variants of 'ldarg' accordingly. |
|
static
|
EmitLdarga
(int)Emits the 'ldarga' or 'ldarga.s' opcodes accordingly. |
|
static
|
EmitLdcBool
(bool)Emits 'ldc.i4.1' or 'ldc.i4.0' for true or false respectively. |
|
static
|
EmitLdcChar
(char)Emits one of the variants of 'ldc.i4' opcode using the numerical unicode value of the character as the integer loaded. |
|
static
|
EmitLdcDec
(decimal)Documentation for this section has not yet been entered. |
|
static
|
EmitLdcI1
(sbyte)Emits one of the variants of 'ldc.i4' followed by a 'conv.i1'. |
|
static
|
EmitLdcI2
(short)Emits one of the variants of 'ldc.i4' followed by a 'conv.i2'. |
|
static
|
EmitLdcI4
(int)Emits one of the variants of the 'ldc.i4' opcode. |
|
static
|
EmitLdcI8
(long)Emits one of the variants of 'ldc.i4' followed by a 'conv.i8' or an 'ldc.i8' accordingly. |
|
static
|
EmitLdcR4
(float)Emits the 'ldc.r4' opcode. |
|
static
|
EmitLdcR8
(double)Emits the 'ldc.r8' opcode. |
|
static
|
EmitLdcU1
(byte)Documentation for this section has not yet been entered. |
|
static
|
EmitLdcU2
(ushort)Documentation for this section has not yet been entered. |
|
static
|
EmitLdcU4
(uint)Documentation for this section has not yet been entered. |
|
static
|
EmitLdcU8
(ulong)Documentation for this section has not yet been entered. |
|
static
|
EmitLdelem
(Type)Emits one of the 'ldelem' variants accordingly. |
|
static
|
EmitLdelema
(Type)Documentation for this section has not yet been entered. |
|
static
|
EmitLdfld
(System.Reflection.FieldInfo)Emits the 'ldfld' opcode. |
|
static
|
EmitLdflda
(System.Reflection.FieldInfo)Emits the 'ldflda' opcode. |
|
static
|
EmitLdftn
(System.Reflection.MethodInfo)Emits the 'ldftn' opcode. |
|
static
|
EmitLdind
(Type)Documentation for this section has not yet been entered. |
|
static
|
EmitLdlen
()Documentation for this section has not yet been entered. |
|
static
|
EmitLdloc
(int)Emits one of the variants of the 'ldloc' opcode. |
|
static
|
EmitLdloca
(int)Emits one of the variants of the 'ldloca' opcode. |
|
static
|
EmitLdnull
()Emits the 'ldnull' opcode. |
|
static
|
EmitLdsfld
(System.Reflection.FieldInfo)Emits the 'ldsfld' opcode. |
|
static
|
EmitLdsflda
(System.Reflection.FieldInfo)Emits the 'ldsflda' opcode. |
|
static
|
EmitLdstr
(string)Emits the 'ldstr' opcode. |
|
static
|
EmitLdtoken
(Type)Emits the 'ldtoken' opcode. |
|
static
|
EmitLdvirtftn
(System.Reflection.MethodInfo)Emits the 'ldvirtftn' opcode. |
|
static
|
EmitLike
()Emits a 'call' to Regex.IsMatch. |
|
static
|
EmitMul
(bool)Emits one of the variants of the 'mul' opcode. |
|
static
|
EmitNand
()Emits a sequence of 'and', 'ldc.i4.0' and 'ceq'. |
|
static
|
EmitNeg
()Emits the 'neg' opcode. |
|
static
|
EmitNewarr
(Type)Emits the 'newarr' opcode. |
|
static
|
EmitNewobj
(System.Reflection.ConstructorInfo)Emits the 'newobj' opcode. |
|
static
|
EmitNLike
()Emits a sequence of Regex.IsMatch, 'ldc.i4.0' and 'ceq' . |
|
static
|
EmitNor
()Emits a sequence of 'or', 'ldc.i4.0' and 'ceq'. |
|
static
|
EmitNot
()Emits the 'not' opcode. |
|
static
|
EmitOr
()Emits the 'or' opcode. |
|
static
|
EmitPop
()Emits the 'pop' opcode. |
|
static
|
EmitRem
(bool)Emits the 'rem' opcode. |
|
static
|
EmitRet
()Emits the 'ret' opcode. |
|
static
|
EmitShl
()Documentation for this section has not yet been entered. |
|
static
|
EmitShr
(bool)Documentation for this section has not yet been entered. |
|
static
|
EmitStarg
(int)Emits one of the variants of the 'starg' opcode. |
|
static
|
EmitStelem
(Type)Emits one of the variants of the 'stelem' opcode. |
|
static
|
EmitStfld
(System.Reflection.FieldInfo)Emits the 'stfld' opcode. |
|
static
|
EmitStind
(Type)Documentation for this section has not yet been entered. |
|
static
|
EmitStloc
(int)Emist one of the variants of the 'stloc' opcode. |
|
static
|
EmitStrAdd
()Emits a call to String.Concat. |
|
static
|
EmitStrCeq
()Emits a combination of String.Compare, 'ldc.i4.0' and 'ceq'. |
|
static
|
EmitStrCneq
()Emits a combination of String.Compare, 'ldc.i4.0','ceq','ldc.i4.0' and 'ceq'. |
|
static
|
EmitStsfld
(System.Reflection.FieldInfo)Emits the 'stsfld' opcode. |
|
static
|
EmitSub
(bool)Emits one of the variants of the 'sub' opcode. |
|
static
|
EmitThrow
()Documentation for this section has not yet been entered. |
|
static
|
EmitTry
()Documentation for this section has not yet been entered. |
|
static
|
EmitUnbox
(Type)Emis the 'unbox' opcode. |
|
static
|
EmitUnboxAny
(Type)Emits the 'unbox.any' opcode. |
|
static
|
EmitXnor
()Emits a sequence of 'xor', 'ldc.i4.0' and 'ceq'. |
|
static
|
EmitXor
()Emist the 'xor' opcode. |
|
static
|
Init
()Documentation for this section has not yet been entered. |
|
static
|
MarkDbgPt
(int)Marks a trace point in the debug symbols. |
|
static
|
MarkLbl
(System.Reflection.Emit.Label)Marks the position of the given label as being the current positionin the IL stream. |
|
static
|
PopDocWriter
()Documentation for this section has not yet been entered. |
|
static
|
PopSrcFile
()Documentation for this section has not yet been entered. |
Initialises this class.
Syntax
public ILEmitter ()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
Documentation for this section has not yet been entered.
Syntax
public static bool AbstractFlgRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 11.2.9.2, 11.2.9.3
Documentation for this section has not yet been entered.
Syntax
public static void AddDocWriter (System.Diagnostics.SymbolStore.ISymbolDocumentWriter srcf)Parameters
- srcf
- Documentation for this section has not yet been entered.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Documentation for this section has not yet been entered.
Syntax
Parameters
- srcf
- Documentation for this section has not yet been entered.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
The index for the last declared argument.
Syntax
public static int ArgIndRemarks
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
Holds the current ConstructorBuilder.
Syntax
public static System.Reflection.Emit.ConstructorBuilder ConstrRemarks
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
Documentation for this section has not yet been entered.
Syntax
public static string CurSrcFileRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
If debugging is enabled this flag is set else it is unset (false).
Syntax
public static bool DebugFlgRemarks
Usually this reflects the value of the Debug Flag in AsmFactory.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
Declares a variable in the current method with the given name and type.
Syntax
Parameters
- name
- The name of the variabe to declare.
- typ
- The type for the variable to declare.
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
Defines a label in the current method.
Syntax
public static System.Reflection.Emit.Label DefineLbl ()Returns
The label structure describing the label just defined.Remarks
Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Holds the current symbol writer.
Syntax
public static System.Diagnostics.SymbolStore.ISymbolDocumentWriter DocWriterRemarks
Used if debugging information is to be written.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Documentation for this section has not yet been entered.
Syntax
public static System.Diagnostics.SymbolStore.ISymbolDocumentWriter[] DocWritersRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits variants of the 'add' opcode accrodingly.
Syntax
Parameters
- s
- If the operands are signed or not.
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
Emits the 'and' opcode.
Syntax
public static void EmitAnd ()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
Emits the 'box' opcode.
Syntax
Parameters
- t
- The type of the valuetype to box.
Remarks
Use this opcode only with struct types as ref types do not need boxing.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits a 'br' opcode.
Syntax
public static void EmitBr (System.Reflection.Emit.Label lbl)Parameters
- lbl
- The label to branch to.
Remarks
Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits the 'brfalse' opcode.
Syntax
public static void EmitBrfalse (System.Reflection.Emit.Label lbl)Parameters
- lbl
- The label to branch to.
Remarks
Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits the 'brtrue' opcode.
Syntax
public static void EmitBrtrue (System.Reflection.Emit.Label lbl)Parameters
- lbl
- The label to branch to.
Remarks
Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits the 'call' opcode.
Syntax
public static void EmitCall (System.Reflection.MethodInfo met)Parameters
- met
- The method to call.
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
Emits a 'call' opcode specifically for constructors.
Syntax
public static void EmitCallCtor (System.Reflection.ConstructorInfo met)Parameters
- met
- The constructor to call.
Remarks
Used only to call superclass constructors inside ref type constructors.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits the 'callvirt' opcode.
Syntax
public static void EmitCallvirt (System.Reflection.MethodInfo met)Parameters
- met
- The method to call.
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
Documentation for this section has not yet been entered.
Syntax
Parameters
- t
- Documentation for this section has not yet been entered.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Documentation for this section has not yet been entered.
Syntax
Parameters
- e
- Documentation for this section has not yet been entered.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 11.2.9.1, 11.2.9.2, 11.2.9.3
Emits the 'ceq' opcode.
Syntax
public static void EmitCeq ()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
Emits a sequence of 'clt(.un)' , 'ldc.i4.0' and 'ceq'.
Syntax
Parameters
- s
- If the operands are signed or not.
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
Emits the 'cgt(.un)' opcode.
Syntax
Parameters
- s
- If the operands are signed or not.
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
Emits a sequence of 'cgt(.un)' , 'ldc.i4.0' and 'ceq'.
Syntax
Parameters
- s
- If the operands are signed or not.
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
Emits the 'clt(.un)' opcode.
Syntax
Parameters
- s
- If the operands are signed or not.
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
Emits a sequence of 'ceq', 'ldc.i4.0' and 'ceq'.
Syntax
public static void EmitCneq ()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
Emits the 'constrained.' prefix.
Syntax
Parameters
- t
- The type to constrain the next 'callvirt' to.
Remarks
Emit only before a 'callvirt' that calls a virtual method on a valuetype. WORKS PROPERLY ONLY UNDER MONO. On .NET use a call instead of constrained with callvirt (works properly on both VMs).Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits the 'conv.i' opcode.
Syntax
public static void EmitConvI ()Remarks
Useful in preparing indices to work with array opcodes.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits the 'conv.i4' opcode.
Syntax
public static void EmitConvI4 ()Remarks
Useful to convert array lengths returned by 'ldlen' to more appropriate format.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits the 'conv.u' opcode.
Syntax
public static void EmitConvU ()Remarks
Useful in preparing indices to work with array opcodes.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits a 'call' to Delegate.Combine.
Syntax
public static void EmitDelegateAdd ()Remarks
Useful for supporting '+' overload on delegates.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits a 'call' to Delegate.Remove.
Syntax
public static void EmitDelegateSub ()Remarks
Useful for supporting '-' overload on delegates.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits the variants of the 'div' opcode accordingly.
Syntax
Parameters
- s
- If the operands are signed or not.
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
Emits the 'dup' opcode.
Syntax
public static void EmitDup ()Remarks
Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Documentation for this section has not yet been entered.
Syntax
public static void EmitEndTry ()Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 11.2.9.1, 11.2.9.2, 11.2.9.3
Documentation for this section has not yet been entered.
Syntax
public static void EmitFinally ()Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 11.2.9.1, 11.2.9.2, 11.2.9.3
Documentation for this section has not yet been entered.
Syntax
Parameters
- t
- Documentation for this section has not yet been entered.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Documentation for this section has not yet been entered.
Syntax
Parameters
- t
- Documentation for this section has not yet been entered.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits one of the variants of 'ldarg' accordingly.
Syntax
Parameters
- num
- The index of the argument to load.
Remarks
To get the address of the argument instead use EmitLdarga.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits the 'ldarga' or 'ldarga.s' opcodes accordingly.
Syntax
Parameters
- num
- The index of the argument whose address is required.
Remarks
If the actual argument locations's stored value is needed use EmitLdarg isntead.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits 'ldc.i4.1' or 'ldc.i4.0' for true or false respectively.
Syntax
Parameters
- b
- The boolean value to emit a load for.
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
Emits one of the variants of 'ldc.i4' opcode using the numerical unicode value of the character as the integer loaded.
Syntax
Parameters
- c
- The character to emit a load for.
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
Documentation for this section has not yet been entered.
Syntax
Parameters
- n
- Documentation for this section has not yet been entered.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 11.2.9.1, 11.2.9.2, 11.2.9.3
Emits one of the variants of 'ldc.i4' followed by a 'conv.i1'.
Syntax
Parameters
- n
- The int8 number to emit a load for.
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
Emits one of the variants of 'ldc.i4' followed by a 'conv.i2'.
Syntax
Parameters
- n
- The int16 number to emit a load for.
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
Emits one of the variants of the 'ldc.i4' opcode.
Syntax
Parameters
- num
- The int32 number to emit a load for.
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
Emits one of the variants of 'ldc.i4' followed by a 'conv.i8' or an 'ldc.i8' accordingly.
Syntax
Parameters
- n
- The int64 number to emit a load for.
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
Emits the 'ldc.r4' opcode.
Syntax
Parameters
- num
- The float32 number to emit a load for.
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
Emits the 'ldc.r8' opcode.
Syntax
Parameters
- num
- The float64 number to emit a load for.
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
Documentation for this section has not yet been entered.
Syntax
Parameters
- n
- Documentation for this section has not yet been entered.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 11.2.8.9, 11.2.9.1, 11.2.9.2, 11.2.9.3
Documentation for this section has not yet been entered.
Syntax
Parameters
- n
- Documentation for this section has not yet been entered.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 11.2.8.9, 11.2.9.1, 11.2.9.2, 11.2.9.3
Documentation for this section has not yet been entered.
Syntax
Parameters
- n
- Documentation for this section has not yet been entered.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 11.2.8.9, 11.2.9.1, 11.2.9.2, 11.2.9.3
Documentation for this section has not yet been entered.
Syntax
Parameters
- n
- Documentation for this section has not yet been entered.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 11.2.8.9, 11.2.9.1, 11.2.9.2, 11.2.9.3
Emits one of the 'ldelem' variants accordingly.
Syntax
Parameters
- typ
- The type of the array element.
Remarks
If the address of the location is desired use EmitLdelema instead.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Documentation for this section has not yet been entered.
Syntax
Parameters
- typ
- Documentation for this section has not yet been entered.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits the 'ldfld' opcode.
Syntax
public static void EmitLdfld (System.Reflection.FieldInfo fld)Parameters
- fld
- The instance field to load.
Remarks
An instance of a class must be loaded prior to this emission. If a static field is to be loaded use EmitLdsfld instead. If the address is required use EmitLdflda instead.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits the 'ldflda' opcode.
Syntax
public static void EmitLdflda (System.Reflection.FieldInfo fld)Parameters
- fld
- The instance field whose address is required.
Remarks
An instance of a class must be loaded prior to this emission.If the actual value is required use EmitLdfld instead. If the address of a static field is required use EmitLdsflda.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits the 'ldftn' opcode.
Syntax
public static void EmitLdftn (System.Reflection.MethodInfo met)Parameters
- met
- The static method to which a pointer is needed.
Remarks
If the pointer to an instance method is needed use EmitLdvirtftn instead.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Documentation for this section has not yet been entered.
Syntax
Parameters
- typ
- Documentation for this section has not yet been entered.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 11.2.8.9, 11.2.9.1, 11.2.9.2, 11.2.9.3
Documentation for this section has not yet been entered.
Syntax
public static void EmitLdlen ()Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits one of the variants of the 'ldloc' opcode.
Syntax
Parameters
- num
- The index of the location to load.
Remarks
If the address to the location is needed use EmitLdloca instead.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
Emits one of the variants of the 'ldloca' opcode.
Syntax
Parameters
- num
- The index of the location whose address is needed.
Remarks
If the actual value is needed use EmitLdloc instead.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits the 'ldnull' opcode.
Syntax
public static void EmitLdnull ()Remarks
Useful for obtaining null references.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits the 'ldsfld' opcode.
Syntax
public static void EmitLdsfld (System.Reflection.FieldInfo fld)Parameters
- fld
- The static field to load.
Remarks
If the address is needed use EmitLdsflda instead.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits the 'ldsflda' opcode.
Syntax
public static void EmitLdsflda (System.Reflection.FieldInfo fld)Parameters
- fld
- The static field whose address is required.
Remarks
If the actual value of the field is needed use EmitLdsfld instead.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits the 'ldstr' opcode.
Syntax
Parameters
- str
- The string constant to load.
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
Emits the 'ldtoken' opcode.
Syntax
Parameters
- t
- The type whose token is needed.
Remarks
Useful for gettype/typeof implementation and in calling castclass.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits the 'ldvirtftn' opcode.
Syntax
public static void EmitLdvirtftn (System.Reflection.MethodInfo met)Parameters
- met
- The instance method whose pointer is needed.
Remarks
An isntance of a class must be loaded prior to this emission. If the pointer to a static method is required use EmitLdftn instead.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits a 'call' to Regex.IsMatch.
Syntax
public static void EmitLike ()Remarks
Useful to compare strings against a pattern. This adds an implicit reference to System.dll!!!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
Emits one of the variants of the 'mul' opcode.
Syntax
Parameters
- s
- If the operands are signed or not.
Remarks
Multiplies its operands.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
Emits a sequence of 'and', 'ldc.i4.0' and 'ceq'.
Syntax
public static void EmitNand ()Remarks
Applies a 1's complemented 'and' to its operands (nand).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
Emits the 'neg' opcode.
Syntax
public static void EmitNeg ()Remarks
Does a 2's complement negation on its operand.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
Emits the 'newarr' opcode.
Syntax
Parameters
- t
- The type of the array to make.
Remarks
Useful for making arrays. The length of the array of type IntPtr must be loaded prior to this emissionRequirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits the 'newobj' opcode.
Syntax
public static void EmitNewobj (System.Reflection.ConstructorInfo c)Parameters
- c
- The constructor to call.
Remarks
Useful for producing object instances.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits a sequence of Regex.IsMatch, 'ldc.i4.0' and 'ceq' .
Syntax
public static void EmitNLike ()Remarks
Useul to check if a string does not conform to a pattern (notlike).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
Emits a sequence of 'or', 'ldc.i4.0' and 'ceq'.
Syntax
public static void EmitNor ()Remarks
dpes a 1's complemented 'or' (nor) on its operands.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
Emits the 'not' opcode.
Syntax
public static void EmitNot ()Remarks
For booleans consider using 'ldc.i4.0' followed by a 'ceq' instead i.e. use EmitLdcI4(0) and EmitCeq.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
Emits the 'or' opcode.
Syntax
public static void EmitOr ()Remarks
Does an inclusive 'or' on its opcode.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
Emits the 'pop' opcode.
Syntax
public static void EmitPop ()Remarks
Usful when a value on the stack is not needed.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits the 'rem' opcode.
Syntax
Parameters
- s
- If the operands are signed or not.
Remarks
Does a modulo operantion on the operands (%).Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits the 'ret' opcode.
Syntax
public static void EmitRet ()Remarks
Useful for returning the control to the method which called this one.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
Documentation for this section has not yet been entered.
Syntax
public static void EmitShl ()Remarks
Documentation for this section has not yet been entered.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
Documentation for this section has not yet been entered.
Syntax
Parameters
- s
- Documentation for this section has not yet been entered.
Remarks
Documentation for this section has not yet been entered.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
Emits one of the variants of the 'starg' opcode.
Syntax
Parameters
- num
- The index of the argument to store to.
Remarks
Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits one of the variants of the 'stelem' opcode.
Syntax
Parameters
- typ
- The type of the element the array to store to accepts.
Remarks
The value to store and the reference to the array must be loaded prior to this emission.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits the 'stfld' opcode.
Syntax
public static void EmitStfld (System.Reflection.FieldInfo fld)Parameters
- fld
- The instance field to store in.
Remarks
An isntance of a class must be loaded prior to this emission.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Documentation for this section has not yet been entered.
Syntax
Parameters
- typ
- Documentation for this section has not yet been entered.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 11.2.8.9, 11.2.9.1, 11.2.9.2, 11.2.9.3
Emist one of the variants of the 'stloc' opcode.
Syntax
Parameters
- num
- The index of the loaction to store in.
Remarks
Documentation for this section has not yet been entered.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
Emits a call to String.Concat.
Syntax
public static void EmitStrAdd ()Remarks
Useful for supporting string concatenation as addition of strings.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
Emits a combination of String.Compare, 'ldc.i4.0' and 'ceq'.
Syntax
public static void EmitStrCeq ()Remarks
Checks if two strings are equal. The use of the Equality overload in System.String is preferred over this.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
Emits a combination of String.Compare, 'ldc.i4.0','ceq','ldc.i4.0' and 'ceq'.
Syntax
public static void EmitStrCneq ()Remarks
Checks if two strings are not equal. The use of the Inequality overload in System.String is preferred over this.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
Emits the 'stsfld' opcode.
Syntax
public static void EmitStsfld (System.Reflection.FieldInfo fld)Parameters
- fld
- The static field to store in.
Remarks
Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits one of the variants of the 'sub' opcode.
Syntax
Parameters
- s
- If the operands are signed or not.
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
Documentation for this section has not yet been entered.
Syntax
public static void EmitThrow ()Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 11.2.9.1, 11.2.9.2, 11.2.9.3
Documentation for this section has not yet been entered.
Syntax
public static void EmitTry ()Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 11.2.9.1, 11.2.9.2, 11.2.9.3
Emis the 'unbox' opcode.
Syntax
Parameters
- t
- The valuetype type to unbox to.
Remarks
This just gives a managed pointer to the valuetype inside the boxed object. To get the valuetype itself use EmitUnboxAny instead.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits the 'unbox.any' opcode.
Syntax
Parameters
- t
- The type to unbox/cast to.
Remarks
This unoxes the valuetype completely or if the reference is to a reference type casts it to the specified type.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Emits a sequence of 'xor', 'ldc.i4.0' and 'ceq'.
Syntax
public static void EmitXnor ()Remarks
Does a 1's complemented 'xor' (xnor) on its operands.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
Emist the 'xor' opcode.
Syntax
public static void EmitXor ()Remarks
Does an exclusive 'or' (xor) on its operands .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
Holds the current IL Generator.
Syntax
public static System.Reflection.Emit.ILGenerator ILGenRemarks
All the Emit methods use the generator held here.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
Documentation for this section has not yet been entered.
Syntax
public static void Init ()Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 11.2.8.9, 11.2.9.1, 11.2.9.2, 11.2.9.3
Documentation for this section has not yet been entered.
Syntax
public static int LineNrRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
The index for the last declared variable.
Syntax
public static int LocIndRemarks
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
Marks a trace point in the debug symbols.
Syntax
Parameters
- line
- The current statement's line number.
Remarks
Useful when supporting debug symbol making.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Marks the position of the given label as being the current positionin the IL stream.
Syntax
public static void MarkLbl (System.Reflection.Emit.Label lbl)Parameters
- lbl
- The label to mark.
Remarks
Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Holds the current MethodBuilder.
Syntax
public static System.Reflection.Emit.MethodBuilder MetRemarks
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
Documentation for this section has not yet been entered.
Syntax
public static void PopDocWriter ()Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Documentation for this section has not yet been entered.
Syntax
public static void PopSrcFile ()Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Documentation for this section has not yet been entered.
Syntax
public static string[] SrcFilesRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Reflection
Assembly: dnr (in dnr.dll)
Assembly Versions: 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
Set if the current method is static else unset.
Syntax
public static bool StaticFlgRemarks
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