From 8dd6352028665064b1c08a2b9f607d3b2b33d3f5 Mon Sep 17 00:00:00 2001 From: walon Date: Thu, 7 Aug 2025 18:55:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E4=B8=8A=E5=8C=85=E5=90=AB[ObufzIgnore(ObfuzScope.TypeName)]?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E7=B1=BB=E5=9E=8B=E5=86=85=E6=89=80=E6=9C=89?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E4=BD=93=E4=B8=8D=E6=B7=B7=E6=B7=86=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Editor/ObfuscationMethodWhitelist.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/ObfuscationMethodWhitelist.cs b/Editor/ObfuscationMethodWhitelist.cs index 882eb8c..ff15a96 100644 --- a/Editor/ObfuscationMethodWhitelist.cs +++ b/Editor/ObfuscationMethodWhitelist.cs @@ -92,7 +92,7 @@ namespace Obfuz { return true; } - if (_obfuzComputeCache.HasSelfOrDeclaringOrEnclosingOrInheritObfuzIgnoreScope(type, type.DeclaringType, ObfuzScope.TypeName)) + if (_obfuzComputeCache.HasSelfOrDeclaringOrEnclosingOrInheritObfuzIgnoreScope(type, type.DeclaringType, ObfuzScope.MethodBody)) { return true; }