Use the greatest version we find

This commit is contained in:
de4dot 2012-08-10 21:14:11 +02:00
parent 2a283b922b
commit b3b3f222cf

View File

@ -547,7 +547,7 @@ namespace de4dot.code.deobfuscators.Confuser {
setDelegateCreatorMethod(method);
methodToInfo.add(method, new ProxyCreatorInfo(method, proxyType, theVersion, magic, nativeMethod, callvirtChar));
version = theVersion;
version = (ConfuserVersion)Math.Max((int)version, (int)theVersion);
}
}