From ed00c5f2c5a3d1d740e6f10a5b33d225906c6023 Mon Sep 17 00:00:00 2001 From: de4dot Date: Tue, 24 Jan 2012 04:24:44 +0100 Subject: [PATCH] Make sure it is static --- de4dot.code/deobfuscators/DeepSea/ResolverBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/de4dot.code/deobfuscators/DeepSea/ResolverBase.cs b/de4dot.code/deobfuscators/DeepSea/ResolverBase.cs index 691250e2..db82ad6f 100644 --- a/de4dot.code/deobfuscators/DeepSea/ResolverBase.cs +++ b/de4dot.code/deobfuscators/DeepSea/ResolverBase.cs @@ -101,7 +101,7 @@ namespace de4dot.code.deobfuscators.DeepSea { } bool checkHandlerMethod(MethodDefinition handler) { - if (handler == null || handler.Body == null) + if (handler == null || handler.Body == null || !handler.IsStatic) return false; if (!DotNetUtils.isMethod(handler, "System.Reflection.Assembly", "(System.Object,System.ResolveEventArgs)")) return false;