Skip to content

Commit

Permalink
Merge 2e8d8eb into 42b756d
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeetret authored Dec 10, 2021
2 parents 42b756d + 2e8d8eb commit 3cf244d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Confuser.Renamer/Analyzers/JsonAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ void Analyze(ConfuserContext context, INameService service, TypeDef type, Protec
}

void Analyze(ConfuserContext context, INameService service, MethodDef method, ProtectionParameters parameters) {
if (GetJsonContainerAttribute(method.DeclaringType) != null && method.IsConstructor) {
//if (GetJsonContainerAttribute(method.DeclaringType) != null && method.IsConstructor) {
service.SetParam(method, "renameArgs", "false");
}
//}
}

void Analyze(ConfuserContext context, INameService service, PropertyDef property, ProtectionParameters parameters) {
Expand All @@ -120,4 +120,4 @@ public void PostRename(ConfuserContext context, INameService service, Protection
//
}
}
}
}

0 comments on commit 3cf244d

Please sign in to comment.