ArrayList ensure_methods() { lock (this) { if (method_table == null) method_table = new ObjectCache (new ObjectCacheFunc (get_methods), null, 1); return (ArrayList) method_table.Data; } }