C# Class Castle.DynamicProxy.Generators.Emitters.SimpleAST.ConvertExpression

Inheritance: Expression
Show file Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
ConvertExpression ( Type targetType, Expression right ) : System
ConvertExpression ( Type targetType, Type fromType, Expression right ) : System
Emit ( IMemberEmitter member, ILGenerator gen ) : void

Private Methods

Method Description
EmitCastIfNeeded ( Type from, Type target, ILGenerator gen ) : void

Method Details

ConvertExpression() public method

public ConvertExpression ( Type targetType, Expression right ) : System
targetType System.Type
right Expression
return System

ConvertExpression() public method

public ConvertExpression ( Type targetType, Type fromType, Expression right ) : System
targetType System.Type
fromType System.Type
right Expression
return System

Emit() public method

public Emit ( IMemberEmitter member, ILGenerator gen ) : void
member IMemberEmitter
gen System.Reflection.Emit.ILGenerator
return void