C# Class Mono.Cecil.Fluent.FluentEmitter

Datei anzeigen Open project: mwoelk83/Mono.Cecil.Fluent Class Usage Examples

Public Methods

Method Description
Add ( ) : FluentEmitter
Add ( MagicNumberArgument arg ) : FluentEmitter
Call ( MethodReference m ) : FluentEmitter
ConvI ( ) : FluentEmitter
ConvI1 ( ) : FluentEmitter
ConvI2 ( ) : FluentEmitter
ConvI4 ( ) : FluentEmitter
ConvI8 ( ) : FluentEmitter
ConvR4 ( ) : FluentEmitter
ConvR8 ( ) : FluentEmitter
ConvU ( ) : FluentEmitter
ConvU1 ( ) : FluentEmitter
ConvU2 ( ) : FluentEmitter
ConvU4 ( ) : FluentEmitter
ConvU8 ( ) : FluentEmitter
Div ( ) : FluentEmitter
Div ( MagicNumberArgument divisor ) : FluentEmitter
DivUn ( ) : FluentEmitter
DivUn ( MagicNumberArgument divisor ) : FluentEmitter
Dup ( ) : FluentEmitter
Else ( ) : FluentEmitter
Emit ( Instruction instruction ) : FluentEmitter
Emit ( Mono.Cecil.Cil.OpCode opcode ) : FluentEmitter
Emit ( Mono.Cecil.Cil.OpCode opcode, ConstructorInfo arg ) : FluentEmitter
Emit ( Mono.Cecil.Cil.OpCode opcode, FieldInfo arg ) : FluentEmitter
Emit ( Mono.Cecil.Cil.OpCode opcode, FieldReference arg ) : FluentEmitter
Emit ( Mono.Cecil.Cil.OpCode opcode, Func selector ) : FluentEmitter
Emit ( Mono.Cecil.Cil.OpCode opcode, Instruction arg ) : FluentEmitter
Emit ( Mono.Cecil.Cil.OpCode opcode, MethodInfo arg ) : FluentEmitter
Emit ( Mono.Cecil.Cil.OpCode opcode, MethodReference arg ) : FluentEmitter
Emit ( Mono.Cecil.Cil.OpCode opcode, ParameterDefinition arg ) : FluentEmitter
Emit ( Mono.Cecil.Cil.OpCode opcode, SystemTypeOrTypeReference arg ) : FluentEmitter
Emit ( Mono.Cecil.Cil.OpCode opcode, Mono.Cecil.Cil.VariableDefinition arg ) : FluentEmitter
Emit ( Mono.Cecil.Cil.OpCode opcode, double arg ) : FluentEmitter
Emit ( Mono.Cecil.Cil.OpCode opcode, float arg ) : FluentEmitter
Emit ( Mono.Cecil.Cil.OpCode opcode, int arg ) : FluentEmitter
Emit ( Mono.Cecil.Cil.OpCode opcode, long arg ) : FluentEmitter
Emit ( Mono.Cecil.Cil.OpCode opcode, sbyte arg ) : FluentEmitter
Emit ( Mono.Cecil.Cil.OpCode opcode, string arg ) : FluentEmitter
EndIf ( ) : FluentEmitter
GetVariable ( string varname ) : Mono.Cecil.Cil.VariableDefinition
IfNot ( ) : FluentEmitter
IfTrue ( ) : FluentEmitter
Ifgt ( ) : FluentEmitter
Ifgte ( ) : FluentEmitter
Iflt ( ) : FluentEmitter
Iflte ( ) : FluentEmitter
LdNull ( ) : FluentEmitter
LdParam ( ) : FluentEmitter
LdStr ( ) : FluentEmitter
LdThis ( ) : FluentEmitter
Ldarg ( ) : FluentEmitter

you should use LdParam() because it takes care of the this parameter

Ldc ( ) : FluentEmitter
Ldloc ( ) : FluentEmitter
Ldloca ( ) : FluentEmitter
Mul ( ) : FluentEmitter
Mul ( MagicNumberArgument arg ) : FluentEmitter
Neg ( ) : FluentEmitter
Nop ( ) : FluentEmitter
Not ( ) : FluentEmitter
Pop ( ) : FluentEmitter
Rem ( ) : FluentEmitter
Rem ( MagicNumberArgument divisor ) : FluentEmitter
RemUn ( ) : FluentEmitter
RemUn ( MagicNumberArgument divisor ) : FluentEmitter
Ret ( ) : FluentEmitter
Ret ( MagicNumberArgument value ) : FluentEmitter
RetArg ( string varname ) : FluentEmitter
RetLoc ( string varname ) : FluentEmitter
RetLoc ( uint varindex ) : FluentEmitter
RetThis ( ) : FluentEmitter
Starg ( ) : FluentEmitter
Starg ( MagicNumberArgument value ) : FluentEmitter
Stloc ( ) : FluentEmitter
Stloc ( MagicNumberArgument value ) : FluentEmitter
Sub ( ) : FluentEmitter
Sub ( MagicNumberArgument arg ) : FluentEmitter

Private Methods

Method Description
CheckTypeEquality ( TypeReference a, TypeReference b ) : void
GetParameter ( string paramname ) : ParameterDefinition

Method Details

Add() public method

public Add ( ) : FluentEmitter
return FluentEmitter

Add() public method

public Add ( MagicNumberArgument arg ) : FluentEmitter
arg MagicNumberArgument
return FluentEmitter

Call() public method

public Call ( MethodReference m ) : FluentEmitter
m MethodReference
return FluentEmitter

ConvI() public method

public ConvI ( ) : FluentEmitter
return FluentEmitter

ConvI1() public method

public ConvI1 ( ) : FluentEmitter
return FluentEmitter

ConvI2() public method

public ConvI2 ( ) : FluentEmitter
return FluentEmitter

ConvI4() public method

public ConvI4 ( ) : FluentEmitter
return FluentEmitter

ConvI8() public method

public ConvI8 ( ) : FluentEmitter
return FluentEmitter

ConvR4() public method

public ConvR4 ( ) : FluentEmitter
return FluentEmitter

ConvR8() public method

public ConvR8 ( ) : FluentEmitter
return FluentEmitter

ConvU() public method

public ConvU ( ) : FluentEmitter
return FluentEmitter

ConvU1() public method

public ConvU1 ( ) : FluentEmitter
return FluentEmitter

ConvU2() public method

public ConvU2 ( ) : FluentEmitter
return FluentEmitter

ConvU4() public method

public ConvU4 ( ) : FluentEmitter
return FluentEmitter

ConvU8() public method

public ConvU8 ( ) : FluentEmitter
return FluentEmitter

Div() public method

public Div ( ) : FluentEmitter
return FluentEmitter

Div() public method

public Div ( MagicNumberArgument divisor ) : FluentEmitter
divisor MagicNumberArgument
return FluentEmitter

DivUn() public method

public DivUn ( ) : FluentEmitter
return FluentEmitter

DivUn() public method

public DivUn ( MagicNumberArgument divisor ) : FluentEmitter
divisor MagicNumberArgument
return FluentEmitter

Dup() public method

public Dup ( ) : FluentEmitter
return FluentEmitter

Else() public method

public Else ( ) : FluentEmitter
return FluentEmitter

Emit() public method

public Emit ( Instruction instruction ) : FluentEmitter
instruction Mono.Cecil.Cil.Instruction
return FluentEmitter

Emit() public method

public Emit ( Mono.Cecil.Cil.OpCode opcode ) : FluentEmitter
opcode Mono.Cecil.Cil.OpCode
return FluentEmitter

Emit() public method

public Emit ( Mono.Cecil.Cil.OpCode opcode, ConstructorInfo arg ) : FluentEmitter
opcode Mono.Cecil.Cil.OpCode
arg ConstructorInfo
return FluentEmitter

Emit() public method

public Emit ( Mono.Cecil.Cil.OpCode opcode, FieldInfo arg ) : FluentEmitter
opcode Mono.Cecil.Cil.OpCode
arg FieldInfo
return FluentEmitter

Emit() public method

public Emit ( Mono.Cecil.Cil.OpCode opcode, FieldReference arg ) : FluentEmitter
opcode Mono.Cecil.Cil.OpCode
arg FieldReference
return FluentEmitter

Emit() public method

public Emit ( Mono.Cecil.Cil.OpCode opcode, Func selector ) : FluentEmitter
opcode Mono.Cecil.Cil.OpCode
selector Func
return FluentEmitter

Emit() public method

public Emit ( Mono.Cecil.Cil.OpCode opcode, Instruction arg ) : FluentEmitter
opcode Mono.Cecil.Cil.OpCode
arg Mono.Cecil.Cil.Instruction
return FluentEmitter

Emit() public method

public Emit ( Mono.Cecil.Cil.OpCode opcode, MethodInfo arg ) : FluentEmitter
opcode Mono.Cecil.Cil.OpCode
arg MethodInfo
return FluentEmitter

Emit() public method

public Emit ( Mono.Cecil.Cil.OpCode opcode, MethodReference arg ) : FluentEmitter
opcode Mono.Cecil.Cil.OpCode
arg MethodReference
return FluentEmitter

Emit() public method

public Emit ( Mono.Cecil.Cil.OpCode opcode, ParameterDefinition arg ) : FluentEmitter
opcode Mono.Cecil.Cil.OpCode
arg ParameterDefinition
return FluentEmitter

Emit() public method

public Emit ( Mono.Cecil.Cil.OpCode opcode, SystemTypeOrTypeReference arg ) : FluentEmitter
opcode Mono.Cecil.Cil.OpCode
arg SystemTypeOrTypeReference
return FluentEmitter

Emit() public method

public Emit ( Mono.Cecil.Cil.OpCode opcode, Mono.Cecil.Cil.VariableDefinition arg ) : FluentEmitter
opcode Mono.Cecil.Cil.OpCode
arg Mono.Cecil.Cil.VariableDefinition
return FluentEmitter

Emit() public method

public Emit ( Mono.Cecil.Cil.OpCode opcode, double arg ) : FluentEmitter
opcode Mono.Cecil.Cil.OpCode
arg double
return FluentEmitter

Emit() public method

public Emit ( Mono.Cecil.Cil.OpCode opcode, float arg ) : FluentEmitter
opcode Mono.Cecil.Cil.OpCode
arg float
return FluentEmitter

Emit() public method

public Emit ( Mono.Cecil.Cil.OpCode opcode, int arg ) : FluentEmitter
opcode Mono.Cecil.Cil.OpCode
arg int
return FluentEmitter

Emit() public method

public Emit ( Mono.Cecil.Cil.OpCode opcode, long arg ) : FluentEmitter
opcode Mono.Cecil.Cil.OpCode
arg long
return FluentEmitter

Emit() public method

public Emit ( Mono.Cecil.Cil.OpCode opcode, sbyte arg ) : FluentEmitter
opcode Mono.Cecil.Cil.OpCode
arg sbyte
return FluentEmitter

Emit() public method

public Emit ( Mono.Cecil.Cil.OpCode opcode, string arg ) : FluentEmitter
opcode Mono.Cecil.Cil.OpCode
arg string
return FluentEmitter

EndIf() public method

public EndIf ( ) : FluentEmitter
return FluentEmitter

GetVariable() public method

public GetVariable ( string varname ) : Mono.Cecil.Cil.VariableDefinition
varname string
return Mono.Cecil.Cil.VariableDefinition

IfNot() public method

public IfNot ( ) : FluentEmitter
return FluentEmitter

IfTrue() public method

public IfTrue ( ) : FluentEmitter
return FluentEmitter

Ifgt() public method

public Ifgt ( ) : FluentEmitter
return FluentEmitter

Ifgte() public method

public Ifgte ( ) : FluentEmitter
return FluentEmitter

Iflt() public method

public Iflt ( ) : FluentEmitter
return FluentEmitter

Iflte() public method

public Iflte ( ) : FluentEmitter
return FluentEmitter

LdNull() public method

public LdNull ( ) : FluentEmitter
return FluentEmitter

LdParam() public method

public LdParam ( ) : FluentEmitter
return FluentEmitter

LdStr() public method

public LdStr ( ) : FluentEmitter
return FluentEmitter

LdThis() public method

public LdThis ( ) : FluentEmitter
return FluentEmitter

Ldarg() public method

you should use LdParam() because it takes care of the this parameter
public Ldarg ( ) : FluentEmitter
return FluentEmitter

Ldc() public method

public Ldc ( ) : FluentEmitter
return FluentEmitter

Ldloc() public method

public Ldloc ( ) : FluentEmitter
return FluentEmitter

Ldloca() public method

public Ldloca ( ) : FluentEmitter
return FluentEmitter

Mul() public method

public Mul ( ) : FluentEmitter
return FluentEmitter

Mul() public method

public Mul ( MagicNumberArgument arg ) : FluentEmitter
arg MagicNumberArgument
return FluentEmitter

Neg() public method

public Neg ( ) : FluentEmitter
return FluentEmitter

Nop() public method

public Nop ( ) : FluentEmitter
return FluentEmitter

Not() public method

public Not ( ) : FluentEmitter
return FluentEmitter

Pop() public method

public Pop ( ) : FluentEmitter
return FluentEmitter

Rem() public method

public Rem ( ) : FluentEmitter
return FluentEmitter

Rem() public method

public Rem ( MagicNumberArgument divisor ) : FluentEmitter
divisor MagicNumberArgument
return FluentEmitter

RemUn() public method

public RemUn ( ) : FluentEmitter
return FluentEmitter

RemUn() public method

public RemUn ( MagicNumberArgument divisor ) : FluentEmitter
divisor MagicNumberArgument
return FluentEmitter

Ret() public method

public Ret ( ) : FluentEmitter
return FluentEmitter

Ret() public method

public Ret ( MagicNumberArgument value ) : FluentEmitter
value MagicNumberArgument
return FluentEmitter

RetArg() public method

public RetArg ( string varname ) : FluentEmitter
varname string
return FluentEmitter

RetLoc() public method

public RetLoc ( string varname ) : FluentEmitter
varname string
return FluentEmitter

RetLoc() public method

public RetLoc ( uint varindex ) : FluentEmitter
varindex uint
return FluentEmitter

RetThis() public method

public RetThis ( ) : FluentEmitter
return FluentEmitter

Starg() public method

public Starg ( ) : FluentEmitter
return FluentEmitter

Starg() public method

public Starg ( MagicNumberArgument value ) : FluentEmitter
value MagicNumberArgument
return FluentEmitter

Stloc() public method

public Stloc ( ) : FluentEmitter
return FluentEmitter

Stloc() public method

public Stloc ( MagicNumberArgument value ) : FluentEmitter
value MagicNumberArgument
return FluentEmitter

Sub() public method

public Sub ( ) : FluentEmitter
return FluentEmitter

Sub() public method

public Sub ( MagicNumberArgument arg ) : FluentEmitter
arg MagicNumberArgument
return FluentEmitter