Skip to content

Commit 29a6ba4

Browse files
authored
Merge 4417d9d into 92ed290
2 parents 92ed290 + 4417d9d commit 29a6ba4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Confuser.Renamer/RenamePhase.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ protected override void Execute(ConfuserContext context, ProtectionParameters pa
5757
if (!string.IsNullOrEmpty(local.Name))
5858
local.Name = service.ObfuscateName(local.Name, mode);
5959
}
60-
method.Body.PdbMethod.Scope = new PdbScope();
60+
61+
if (method.Body.HasPdbMethod)
62+
method.Body.PdbMethod.Scope = new PdbScope();
6163
}
6264
}
6365

0 commit comments

Comments
 (0)