C# Class Microsoft.CSharp.RuntimeBinder.ExpressionTreeCallRewriter

Inheritance: Microsoft.CSharp.RuntimeBinder.Semantics.ExprVisitorBase
Exibir arquivo Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
Rewrite ( TypeManager typeManager, EXPR pExpr, IEnumerable listOfParameters ) : Expression

Protected Methods

Method Description
ExpressionTreeCallRewriter ( TypeManager typeManager, IEnumerable listOfParameters ) : System
VisitCALL ( Microsoft.CSharp.RuntimeBinder.Semantics.EXPRCALL pExpr ) : EXPR
VisitCAST ( Microsoft.CSharp.RuntimeBinder.Semantics.EXPRCAST pExpr ) : EXPR
VisitSAVE ( Microsoft.CSharp.RuntimeBinder.Semantics.EXPRBINOP pExpr ) : EXPR

Private Methods

Method Description
GenerateArrayIndex ( Microsoft.CSharp.RuntimeBinder.Semantics.EXPRCALL pExpr ) : ExpressionEXPR
GenerateAssignment ( Microsoft.CSharp.RuntimeBinder.Semantics.EXPRCALL pExpr ) : ExpressionEXPR
GenerateBinaryOperator ( Microsoft.CSharp.RuntimeBinder.Semantics.EXPRCALL pExpr ) : ExpressionEXPR
GenerateCall ( Microsoft.CSharp.RuntimeBinder.Semantics.EXPRCALL pExpr ) : ExpressionEXPR
GenerateConstantType ( Microsoft.CSharp.RuntimeBinder.Semantics.EXPRCALL pExpr ) : ExpressionEXPR
GenerateConvert ( Microsoft.CSharp.RuntimeBinder.Semantics.EXPRCALL pExpr ) : ExpressionEXPR
GenerateField ( Microsoft.CSharp.RuntimeBinder.Semantics.EXPRCALL pExpr ) : ExpressionEXPR
GenerateInvoke ( Microsoft.CSharp.RuntimeBinder.Semantics.EXPRCALL pExpr ) : ExpressionEXPR
GenerateLambda ( Microsoft.CSharp.RuntimeBinder.Semantics.EXPRCALL pExpr ) : ExpressionEXPR
GenerateNew ( Microsoft.CSharp.RuntimeBinder.Semantics.EXPRCALL pExpr ) : ExpressionEXPR
GenerateProperty ( Microsoft.CSharp.RuntimeBinder.Semantics.EXPRCALL pExpr ) : ExpressionEXPR
GenerateUnaryOperator ( Microsoft.CSharp.RuntimeBinder.Semantics.EXPRCALL pExpr ) : ExpressionEXPR
GenerateUserDefinedBinaryOperator ( Microsoft.CSharp.RuntimeBinder.Semantics.EXPRCALL pExpr ) : ExpressionEXPR
GenerateUserDefinedUnaryOperator ( Microsoft.CSharp.RuntimeBinder.Semantics.EXPRCALL pExpr ) : ExpressionEXPR
GetArgumentsFromArrayInit ( Microsoft.CSharp.RuntimeBinder.Semantics.EXPRARRINIT arrinit ) : System.Linq.Expressions.Expression[]
GetConstructorInfoFromExpr ( Microsoft.CSharp.RuntimeBinder.Semantics.EXPRMETHODINFO methinfo ) : ConstructorInfo
GetExpression ( EXPR pExpr ) : Expression
GetMethodInfoFromExpr ( Microsoft.CSharp.RuntimeBinder.Semantics.EXPRMETHODINFO methinfo ) : MethodInfo
GetObject ( EXPR pExpr ) : object
GetPropertyInfoFromExpr ( Microsoft.CSharp.RuntimeBinder.Semantics.EXPRPropertyInfo propinfo ) : PropertyInfo
TypesAreEqual ( Type t1, Type t2 ) : bool

Method Details

ExpressionTreeCallRewriter() protected method

protected ExpressionTreeCallRewriter ( TypeManager typeManager, IEnumerable listOfParameters ) : System
typeManager Microsoft.CSharp.RuntimeBinder.Semantics.TypeManager
listOfParameters IEnumerable
return System

Rewrite() public static method

public static Rewrite ( TypeManager typeManager, EXPR pExpr, IEnumerable listOfParameters ) : Expression
typeManager Microsoft.CSharp.RuntimeBinder.Semantics.TypeManager
pExpr Microsoft.CSharp.RuntimeBinder.Semantics.EXPR
listOfParameters IEnumerable
return System.Linq.Expressions.Expression

VisitCALL() protected method

protected VisitCALL ( Microsoft.CSharp.RuntimeBinder.Semantics.EXPRCALL pExpr ) : EXPR
pExpr Microsoft.CSharp.RuntimeBinder.Semantics.EXPRCALL
return Microsoft.CSharp.RuntimeBinder.Semantics.EXPR

VisitCAST() protected method

protected VisitCAST ( Microsoft.CSharp.RuntimeBinder.Semantics.EXPRCAST pExpr ) : EXPR
pExpr Microsoft.CSharp.RuntimeBinder.Semantics.EXPRCAST
return Microsoft.CSharp.RuntimeBinder.Semantics.EXPR

VisitSAVE() protected method

protected VisitSAVE ( Microsoft.CSharp.RuntimeBinder.Semantics.EXPRBINOP pExpr ) : EXPR
pExpr Microsoft.CSharp.RuntimeBinder.Semantics.EXPRBINOP
return Microsoft.CSharp.RuntimeBinder.Semantics.EXPR