fix: don't ignore methods which contains `[CompilerGenerated]`

before-split
walon 2025-05-20 11:09:26 +08:00
parent 570033520e
commit b618f2cb1e
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ namespace Obfuz
{ {
private bool ShouldBeIgnoredByCustomAttribute(IHasCustomAttribute obj) private bool ShouldBeIgnoredByCustomAttribute(IHasCustomAttribute obj)
{ {
return MetaUtil.HasObfuzIgnoreAttribute(obj) || MetaUtil.HasCompilerGeneratedAttribute(obj); return MetaUtil.HasObfuzIgnoreAttribute(obj);
} }
public bool IsInWhiteList(ModuleDef module) public bool IsInWhiteList(ModuleDef module)