diff --git a/Confuser.Protections/ReferenceProxy/ReferenceProxyPhase.cs b/Confuser.Protections/ReferenceProxy/ReferenceProxyPhase.cs index 6b0f7fd9e..e2e429b5b 100644 --- a/Confuser.Protections/ReferenceProxy/ReferenceProxyPhase.cs +++ b/Confuser.Protections/ReferenceProxy/ReferenceProxyPhase.cs @@ -150,7 +150,7 @@ void ProcessMethod(RPContext ctx) { 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; @@ -181,4 +181,4 @@ public int GetHashCode(MethodSig obj) { } } } -} \ No newline at end of file +}