Feature request

Early Access Program for SmartAssembly

Moderators: Luke Jefferson, JasonC, StephenC, Alex.Davies, melvyn.harbour, GrahamH, Simon C

Feature request

Postby PBach2 » Wed May 12, 2010 1:53 pm

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
 
Posts: 1
Joined: Wed May 12, 2010 1:38 pm

Postby Alex.Davies » Mon May 17, 2010 10:50 am

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
Developer,
Red Gate .NET Tools
Alex.Davies
 
Posts: 335
Joined: Tue Dec 02, 2008 12:23 pm
Location: Cambridge, uk


Return to SmartAssembly EAP

Who is online

Users browsing this forum: No registered users and 0 guests