diff --git a/com.code-philosophy.obfuz/Editor/Utils/MetaUtil.cs b/com.code-philosophy.obfuz/Editor/Utils/MetaUtil.cs index fb06398..92120f7 100644 --- a/com.code-philosophy.obfuz/Editor/Utils/MetaUtil.cs +++ b/com.code-philosophy.obfuz/Editor/Utils/MetaUtil.cs @@ -825,7 +825,7 @@ namespace Obfuz.Utils if (ca != null) { var scope = (ObfuzScope)ca.ConstructorArguments[0].Value; - CANamedArgument inheritByNestedTypesArg = ca.GetNamedArgument("InheritByNestedTypes", false); + CANamedArgument inheritByNestedTypesArg = ca.GetNamedArgument("ApplyToMembers", false); bool inheritByNestedTypes = inheritByNestedTypesArg == null || (bool)inheritByNestedTypesArg.Value; return cur == typeDef || inheritByNestedTypes ? (ObfuzScope?) scope : null; } diff --git a/com.code-philosophy.obfuz/Runtime/ObfuzIgnoreAttribute.cs b/com.code-philosophy.obfuz/Runtime/ObfuzIgnoreAttribute.cs index 4bc4a9a..b05062e 100644 --- a/com.code-philosophy.obfuz/Runtime/ObfuzIgnoreAttribute.cs +++ b/com.code-philosophy.obfuz/Runtime/ObfuzIgnoreAttribute.cs @@ -34,7 +34,7 @@ namespace Obfuz { public ObfuzScope Scope { get; set; } - public bool InheritByNestedTypes { get; set; } = true; + public bool ApplyToMembers { get; set; } = true; public ObfuzIgnoreAttribute(ObfuzScope scope = ObfuzScope.All) {