Skip to content

Rename only method parameters, not method name (renameArgs) #166

@tiagoalmeidadarosa

Description

@tiagoalmeidadarosa

I'm using the "rename" protection and I want to rename just the name of the parameters, not the name of the method.
I don't want to rename the method name because I need the correct callstack information.
This is the current configuration of my project:

<project outputDir=".\" baseDir="bin\Release" xmlns="http://confuser.codeplex.com">
  <rule pattern="true" inherit="false">
    <protection id="constants" />
    <protection id="ctrl flow" />
    <protection id="anti ildasm" />
    <protection id="rename">
	  <argument name="mode" value="unicode" />
	  <argument name="renameArgs" value="true" />
	  <argument name="renEnum" value="false" />
	  <argument name="flatten" value="false" />
	  <argument name="forceRen" value="false" />
	  <argument name="renPublic" value="false" />
	  <argument name="renPdb" value="false" />
	  <argument name="renXaml" value="true" />
	</protection>
    <protection id="resources" action="remove" />
  </rule>
  <module path="Sitrad.Devices.dll" snKey="..\..\Sitrad.snk" />
</project>

It is possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions