Boo.Lang.Compiler.Ast.AstUtil.CreateMethodInvocationExpression C# (CSharp) Method

CreateMethodInvocationExpression() public static method

public static CreateMethodInvocationExpression ( LexicalInfo li, Expression target, Expression arg ) : MethodInvocationExpression
li LexicalInfo
target Expression
arg Expression
return MethodInvocationExpression
        public static MethodInvocationExpression CreateMethodInvocationExpression(LexicalInfo li, Expression target, Expression arg)
        {
            MethodInvocationExpression mie = new MethodInvocationExpression(li);
            mie.Target = (Expression)target.Clone();
            mie.Arguments.Add((Expression)arg.Clone());
            mie.IsSynthetic = true;
            return mie;
        }

Same methods

AstUtil::CreateMethodInvocationExpression ( Expression target, Expression arg ) : MethodInvocationExpression