public LuaMethod(MethodInfo md, Type t, Type[] types) { method = md; kclass = t; if (types != null) { list.AddRange(types); } }