Ejemplo n.º 1
0
 private void Resolve(IResolver resolver)
 {
     Type[] argTypes = new Type[arguments.Count];
     for (int i = 0; i < arguments.Count; i++)
     {
         argTypes[i] = arguments[i].GetResultType(resolver);
     }
     if (declaringType == null)
     {
         methodInfo = resolver.ResolveFunction(functionName, argTypes);
     }
     else
     {
         methodInfo = resolver.ResolveMemberFunction(declaringType, functionName, argTypes);
     }
 }