change: if type contains `[ObfuzIgnore]` attribute, both itself and all nested type should be ignored.

before-split
walon 2025-05-18 22:04:37 +08:00
parent 45a07bc2ae
commit 09ad0eb744
1 changed files with 4 additions and 0 deletions

View File

@ -61,6 +61,10 @@ namespace Obfuz
{ {
return true; return true;
} }
if (type.DeclaringType != null && IsInWhiteList(type.DeclaringType))
{
return true;
}
if (type.FullName == "Obfuz.EncryptionVM.GeneratedEncryptionVirtualMachine") if (type.FullName == "Obfuz.EncryptionVM.GeneratedEncryptionVirtualMachine")
{ {
return true; return true;