Name confusion custom (use ASCII character only)

Jun 12, 2013 at 1:50 PM

Is it possible to customize name confusion rule for overload encoding (i.e NameMode choice enum) ? In fact, I would like use NameMode.ASCII or NameMode.Letters when
Confuser renames types and members.

Into NameConfusion.cs source code, it retrieves NameAnalyzer.RenMode** annotation from TypeDefinition or MethodDefiniton, so it seems that it's possible
to customize with attribute or parameter this option. Is it the good way ?

** var mode = (NameMode)(mem.Module as IAnnotationProvider).Annotations[NameAnalyzer.RenMode];

Jul 15, 2013 at 4:59 AM
I just add the feature in the latest source code. You can use 'type' parameter to control the name mode('unreadable', 'ascii', 'letters').