public virtual bool compileMethod(BehavioralObject methodClass, ESSymbol protocol, out ESMethod compiledMethod) { ESMethod method = null; if (compileMethod( methodClass, (MethodDeclarationNode methodDeclarationNode, Delegate function) => { if (function == null) { return(false); } method = objectSpace.newMethod(methodClass, methodClass, methodDeclarationNode, protocol); return(true); })) { compiledMethod = method; return(true); } else { compiledMethod = null; return(false); } }