예제 #1
0
        public IMethodDeclaration findBest(bool checkInstance)
        {
            IMethodDeclaration decl = findBestReference(checkInstance);

            if (decl != null)
            {
                return(decl);
            }
            decl = findBestMethod(checkInstance);
            if (decl != null)
            {
                return(decl);
            }
            else
            {
                throw new SyntaxError("No such method: " + methodCall.ToString());
            }
        }
예제 #2
0
 public override string ToString()
 {
     return(MethodCall.ToString());
 }