Should ignore .cctor methods since .ctor is never static

This commit is contained in:
de4dot 2011-10-26 14:29:57 +02:00
parent bfa0fa14c0
commit 1eaa245618

View File

@ -75,7 +75,7 @@ namespace de4dot.deobfuscators.CryptoObfuscator {
protected override void onFoundProxyDelegate(TypeDefinition type) {
foreach (var method in type.Methods) {
if (!method.IsStatic || !method.HasBody || method.Name == ".ctor")
if (!method.IsStatic || !method.HasBody || method.Name == ".cctor")
continue;
var instructions = method.Body.Instructions;