dnr : dylan.NET.Reflection Namespace

ILEmitter Class

This class contains methods used for emitting opcodes to the current IL generator.

Syntax

public class 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, 11.2.9.4, 11.2.9.5, 11.2.9.6

Members

See Also: Inherited members from object.

Public Constructors

Initialises this class.

Public Fields

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.

Public Methods

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 () : System.Reflection.Emit.Label
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.

Member Details

ILEmitter Constructor

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

AbstractFlg Field

Documentation for this section has not yet been entered.

Syntax

public static bool AbstractFlg

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.2, 11.2.9.3, 11.2.9.4, 11.2.9.5, 11.2.9.6

AddDocWriter Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

AddSrcFile Method

Documentation for this section has not yet been entered.

Syntax

public static void AddSrcFile (string 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, 11.2.9.4, 11.2.9.5, 11.2.9.6

ArgInd Field

The index for the last declared argument.

Syntax

public static int ArgInd

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

Constr Field

Holds the current ConstructorBuilder.

Syntax

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

CurSrcFile Field

Documentation for this section has not yet been entered.

Syntax

public static string CurSrcFile

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

DebugFlg Field

If debugging is enabled this flag is set else it is unset (false).

Syntax

public static bool DebugFlg

Remarks

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

DeclVar Method

Declares a variable in the current method with the given name and type.

Syntax

public static void DeclVar (string name, Type typ)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

DefineLbl Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

DocWriter Field

Holds the current symbol writer.

Syntax

Remarks

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

DocWriters Field

Documentation for this section has not yet been entered.

Syntax

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitAdd Method

Emits variants of the 'add' opcode accrodingly.

Syntax

public static void EmitAdd (bool s)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitAnd Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitBox Method

Emits the 'box' opcode.

Syntax

public static void EmitBox (Type t)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitBr Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitBrfalse Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitBrtrue Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitCall Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitCallCtor Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitCallvirt Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitCastclass Method

Documentation for this section has not yet been entered.

Syntax

public static void EmitCastclass (Type t)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitCatch Method

Documentation for this section has not yet been entered.

Syntax

public static void EmitCatch (Type e)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitCeq Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitCge Method

Emits a sequence of 'clt(.un)' , 'ldc.i4.0' and 'ceq'.

Syntax

public static void EmitCge (bool s)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitCgt Method

Emits the 'cgt(.un)' opcode.

Syntax

public static void EmitCgt (bool s)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitCle Method

Emits a sequence of 'cgt(.un)' , 'ldc.i4.0' and 'ceq'.

Syntax

public static void EmitCle (bool s)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitClt Method

Emits the 'clt(.un)' opcode.

Syntax

public static void EmitClt (bool s)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitCneq Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitConstrained Method

Emits the 'constrained.' prefix.

Syntax

public static void EmitConstrained (Type t)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitConvI Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitConvI4 Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitConvU Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitDelegateAdd Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitDelegateSub Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitDiv Method

Emits the variants of the 'div' opcode accordingly.

Syntax

public static void EmitDiv (bool s)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitDup Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitEndTry Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitFinally Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitIs Method

Documentation for this section has not yet been entered.

Syntax

public static void EmitIs (Type t)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitIsinst Method

Documentation for this section has not yet been entered.

Syntax

public static void EmitIsinst (Type t)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdarg Method

Emits one of the variants of 'ldarg' accordingly.

Syntax

public static void EmitLdarg (int num)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdarga Method

Emits the 'ldarga' or 'ldarga.s' opcodes accordingly.

Syntax

public static void EmitLdarga (int num)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdcBool Method

Emits 'ldc.i4.1' or 'ldc.i4.0' for true or false respectively.

Syntax

public static void EmitLdcBool (bool b)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdcChar Method

Emits one of the variants of 'ldc.i4' opcode using the numerical unicode value of the character as the integer loaded.

Syntax

public static void EmitLdcChar (char c)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdcDec Method

Documentation for this section has not yet been entered.

Syntax

public static void EmitLdcDec (decimal n)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdcI1 Method

Emits one of the variants of 'ldc.i4' followed by a 'conv.i1'.

Syntax

public static void EmitLdcI1 (sbyte n)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdcI2 Method

Emits one of the variants of 'ldc.i4' followed by a 'conv.i2'.

Syntax

public static void EmitLdcI2 (short n)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdcI4 Method

Emits one of the variants of the 'ldc.i4' opcode.

Syntax

public static void EmitLdcI4 (int num)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdcI8 Method

Emits one of the variants of 'ldc.i4' followed by a 'conv.i8' or an 'ldc.i8' accordingly.

Syntax

public static void EmitLdcI8 (long n)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdcR4 Method

Emits the 'ldc.r4' opcode.

Syntax

public static void EmitLdcR4 (float num)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdcR8 Method

Emits the 'ldc.r8' opcode.

Syntax

public static void EmitLdcR8 (double num)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdcU1 Method

Documentation for this section has not yet been entered.

Syntax

public static void EmitLdcU1 (byte n)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdcU2 Method

Documentation for this section has not yet been entered.

Syntax

public static void EmitLdcU2 (ushort n)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdcU4 Method

Documentation for this section has not yet been entered.

Syntax

public static void EmitLdcU4 (uint n)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdcU8 Method

Documentation for this section has not yet been entered.

Syntax

public static void EmitLdcU8 (ulong n)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdelem Method

Emits one of the 'ldelem' variants accordingly.

Syntax

public static void EmitLdelem (Type typ)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdelema Method

Documentation for this section has not yet been entered.

Syntax

public static void EmitLdelema (Type typ)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdfld Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdflda Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdftn Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdind Method

Documentation for this section has not yet been entered.

Syntax

public static void EmitLdind (Type typ)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdlen Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdloc Method

Emits one of the variants of the 'ldloc' opcode.

Syntax

public static void EmitLdloc (int num)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdloca Method

Emits one of the variants of the 'ldloca' opcode.

Syntax

public static void EmitLdloca (int num)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdnull Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdsfld Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdsflda Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdstr Method

Emits the 'ldstr' opcode.

Syntax

public static void EmitLdstr (string str)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdtoken Method

Emits the 'ldtoken' opcode.

Syntax

public static void EmitLdtoken (Type t)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLdvirtftn Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitLike Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitMul Method

Emits one of the variants of the 'mul' opcode.

Syntax

public static void EmitMul (bool s)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitNand Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitNeg Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitNewarr Method

Emits the 'newarr' opcode.

Syntax

public static void EmitNewarr (Type t)

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 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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitNewobj Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitNLike Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitNor Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitNot Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitOr Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitPop Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitRem Method

Emits the 'rem' opcode.

Syntax

public static void EmitRem (bool s)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitRet Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitShl Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitShr Method

Documentation for this section has not yet been entered.

Syntax

public static void EmitShr (bool s)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitStarg Method

Emits one of the variants of the 'starg' opcode.

Syntax

public static void EmitStarg (int num)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitStelem Method

Emits one of the variants of the 'stelem' opcode.

Syntax

public static void EmitStelem (Type typ)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitStfld Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitStind Method

Documentation for this section has not yet been entered.

Syntax

public static void EmitStind (Type typ)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitStloc Method

Emist one of the variants of the 'stloc' opcode.

Syntax

public static void EmitStloc (int num)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitStrAdd Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitStrCeq Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitStrCneq Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitStsfld Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitSub Method

Emits one of the variants of the 'sub' opcode.

Syntax

public static void EmitSub (bool s)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitThrow Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitTry Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitUnbox Method

Emis the 'unbox' opcode.

Syntax

public static void EmitUnbox (Type t)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitUnboxAny Method

Emits the 'unbox.any' opcode.

Syntax

public static void EmitUnboxAny (Type t)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitXnor Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

EmitXor Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

ILGen Field

Holds the current IL Generator.

Syntax

Remarks

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

Init Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

LineNr Field

Documentation for this section has not yet been entered.

Syntax

public static int LineNr

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

LocInd Field

The index for the last declared variable.

Syntax

public static int LocInd

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

MarkDbgPt Method

Marks a trace point in the debug symbols.

Syntax

public static void MarkDbgPt (int line)

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

MarkLbl Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

Met Field

Holds the current MethodBuilder.

Syntax

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

PopDocWriter Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

PopSrcFile Method

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

SrcFiles Field

Documentation for this section has not yet been entered.

Syntax

public static string[] SrcFiles

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, 11.2.9.4, 11.2.9.5, 11.2.9.6

StaticFlg Field

Set if the current method is static else unset.

Syntax

public static bool StaticFlg

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, 11.2.9.4, 11.2.9.5, 11.2.9.6