Is it still possible for v5 to implement a new attribute which one can specify at enum level and which will only rename the enum itself but lets the enum entries untouched?

Example:
1: Before obfuscation
[DoNotObfuscateItems] or [ForceRenamingOfEnumWithoutItems]
enum Person
{
CIO,
SalesPerson,
Manager
}

2: After obfuscation
enum a
{
CIO,
SalesPerson,
Manager
}

We have many cases where we display the enum items but the enum name itself can be obfuscated so that a "thief" doesn't get to much information. When specifying such an attribute the automatic detection of non-obfuscateable elements should always include the enum itself in renaming even if enum items are used the way "Person.Manager.ToString()".

Thanks in advance!
Paul
PBach2
0

Comments

1 comment

  • Alex D
    Hi Paul,
    Sorry for taking a while to get back to you.

    Although it would be rarely used, that seems like a reasonable feature. Unfortunately, we won't have time to put it in for v5, but I've put it in the bug tracking system.

    Cheers,
    Alex D
    0

Add comment

Please sign in to leave a comment.