private static bool IsActivateInvocation(MethodInvocationExpression invocation) { MethodReferenceExpression methodRef = invocation.Target as MethodReferenceExpression; if (null == methodRef) return false; return IsActivateMethod(methodRef.Method); }
public override void Visit(MethodInvocationExpression node) { CannotOptimize(node); }
public InvokeActionBlock (Instruction sourceInstruction, MethodInvocationExpression expression) : base (sourceInstruction) { _expression = expression; }
public virtual void Visit (MethodInvocationExpression node) { Visit (node.Target); Visit (node.Arguments); }
public virtual void Visit(MethodInvocationExpression node) { Visit(node.Target); Visit(node.Arguments); }
public override void Visit (MethodInvocationExpression node) { Visit (node.Target); Write ("("); for (int i=0; i < node.Arguments.Count; ++i) { if (i > 0) Write (", "); Visit (node.Arguments [i]); } Write (")"); }