不混淆标记了`[Serializable]`特性的枚举类的枚举项名
parent
ea5a8e62ce
commit
a61f31e289
|
@ -225,6 +225,10 @@ namespace Obfuz.ObfusPasses.SymbolObfus.Policies
|
|||
TypeDef typeDef = fieldDef.DeclaringType;
|
||||
if (_isScriptOrSerializableTypeCache.GetValue(typeDef))
|
||||
{
|
||||
if (typeDef.IsEnum)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (fieldDef.IsPublic && !fieldDef.IsStatic)
|
||||
{
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue