IType GetExpressionTypeOrEntityType(Node node) { Expression e = node as Expression; return(null != e ? TypeSystemServices.GetExpressionType(e) : TypeSystem.TypeSystemServices.GetType(node)); }
public BinaryExpression CreateAssignment(Expression lhs, Expression rhs) { BinaryExpression assignment = new BinaryExpression( BinaryOperatorType.Assign, lhs, rhs); assignment.ExpressionType = _tss.GetExpressionType(lhs); return(assignment); }
protected IType ArgumentType(Expression e) { return(TypeSystemServices.GetExpressionType(e)); }
public BinaryExpression CreateAssignment(Expression lhs, Expression rhs) { return(CreateBoundBinaryExpression(TypeSystemServices.GetExpressionType(lhs), BinaryOperatorType.Assign, lhs, rhs)); }