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()); } }
public override string ToString() { return(MethodCall.ToString()); }