提交 209861bd 编写于 作者: J johnche(车雄生)

非xlua所在的dll的泛型或者非共用类型函数不注入。

上级 f7f41712
......@@ -1287,6 +1287,11 @@ namespace XLua
bool injectGenericMethod(MethodDefinition method, HotfixFlagInTool hotfixType)
{
//如果注入的是xlua所在之外的Assembly的话,不支持该方式
if (!isTheSameAssembly)
{
return true;
}
var type = method.DeclaringType;
bool isFinalize = (method.Name == "Finalize" && method.IsSpecialName);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册