Skip to content
This repository was archived by the owner on Jan 27, 2019. It is now read-only.

Commit

Permalink
Fix using incorrect parameter source in IsVisibleOutside
Browse files Browse the repository at this point in the history
Fix #365
  • Loading branch information
yck1509 committed Nov 16, 2015
1 parent 5d9b9b0 commit c79a032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Confuser.Renamer/AnalyzePhase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ static bool IsVisibleOutside(ConfuserContext context, ProtectionParameters param
if (type == null)
type = def.DeclaringType;

var renPublic = parameters.GetParameter<bool?>(context, type, "renPublic", null);
var renPublic = parameters.GetParameter<bool?>(context, def, "renPublic", null);
if (renPublic == null)
return type.IsVisibleOutside();
else
Expand Down

0 comments on commit c79a032

Please sign in to comment.