예제 #1
0
 private Node InvokeMetaMethod(CandidateMethod method, object[] arguments)
 {
     return (Node)method.DynamicInvoke(null, arguments);
 }
예제 #2
0
 private void InvokeMetaMethod(MethodInvocationExpression node, CandidateMethod method, object[] arguments)
 {
     var replacement = (Node) method.DynamicInvoke(null, arguments);
     ReplaceMetaMethodInvocationSite(node, replacement);
 }