From b980d0275a5ceca2f0fdd6101b5c6359ce41f4e7 Mon Sep 17 00:00:00 2001 From: Sam Harwood Date: Tue, 17 Jul 2018 23:51:14 +0200 Subject: [PATCH] #591 https://github.com/yck1509/ConfuserEx/pull/591 --- Confuser.Protections/ReferenceProxy/ReferenceProxyPhase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Confuser.Protections/ReferenceProxy/ReferenceProxyPhase.cs b/Confuser.Protections/ReferenceProxy/ReferenceProxyPhase.cs index 6b0f7fd..e1eaac5 100644 --- a/Confuser.Protections/ReferenceProxy/ReferenceProxyPhase.cs +++ b/Confuser.Protections/ReferenceProxy/ReferenceProxyPhase.cs @@ -150,7 +150,7 @@ namespace Confuser.Protections.ReferenceProxy { continue; // No instance value type methods if (declType.IsValueType && operand.MethodSig.HasThis) - return; + continue; // No prefixed call if (i - 1 >= 0 && ctx.Body.Instructions[i - 1].OpCode.OpCodeType == OpCodeType.Prefix) continue;