Fix GetType not working with compressor

This commit is contained in:
yck1509
2015-02-24 02:33:01 +08:00
parent 7d0c4d6886
commit 2dbeec00a3
+2
View File
@@ -58,6 +58,8 @@ namespace Confuser.Runtime {
Array.Clear(b, 0, b.Length);
h.Free();
Array.Clear(q, 0, q.Length);
// For some reasons, reflection on Assembly would not discover the types unless GetTypes is called.
m.GetTypes();
key = n.ResolveSignature(Mutation.KeyI2);
AppDomain.CurrentDomain.AssemblyResolve += Resolve;