bool checkEntryPoint(MethodDef method) { if (method == null) { return(false); } if (!new LocalTypes(method).all(requiredLocals)) { return(false); } var handlers = DeobUtils.getAllResolveHandlers(method); if (handlers.Count != 1) { return(false); } return(true); }