Skip to content

Commit

Permalink
Merge 5208d0e into 657fb58
Browse files Browse the repository at this point in the history
  • Loading branch information
Mik4sa authored Nov 2, 2022
2 parents 657fb58 + 5208d0e commit ffacf89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Confuser.Renamer/NameService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public string ObfuscateName(IDnlibDef dnlibDef, RenameMode mode) {

public string ObfuscateName(string format, string name, RenameMode mode, bool preserveGenericParams = false) {
int genericParamsCount = 0;
if (preserveGenericParams) {
if (preserveGenericParams && !string.IsNullOrEmpty(name)) {
name = ParseGenericName(name, out genericParamsCount);
}

Expand Down

0 comments on commit ffacf89

Please # to comment.