do not report warnning if Slua.getClass
@@ -332,7 +332,7 @@ namespace SLua
#if SLUA_CHECK_REFLECTION
int isReflect = LuaDLL.luaS_pushobject(l, index, getAQName(o), gco, udCacheRef);
- if (isReflect != 0 && checkReflect)
+ if (isReflect != 0 && checkReflect && !(o is LuaClassObject))
{
Logger.LogWarning(string.Format("{0} not exported, using reflection instead", o.ToString()));
}
