Red Gate forums :: View topic - Why are my method parameters __p1, __p2, etc?
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 6
SmartAssembly 6 forum

Why are my method parameters __p1, __p2, etc?

Search in SmartAssembly 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
awmckinley



Joined: 18 Apr 2011
Posts: 1

PostPosted: Mon Apr 18, 2011 5:21 pm    Post subject: Why are my method parameters __p1, __p2, etc? Reply with quote

Sorry if this question's already been asked but I couldn't find an answer anywhere.

I'm evaluating SmartAssembly for my company - we have a DLL we're distributing for use on Windows Mobile 6.0 devices, and we want to protect the internal logic. There are about 6 methods which will be called by the users and we'd like the parameter names to be meaningful, but the SmartAssembly 6 trial has renamed them to __p1, __p2, etc. I've tried a few different configurations, but I haven't figured out how to get it to work the way I'd like.

Really appreciate anyone's help. Thanks!
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6678

PostPosted: Wed Apr 20, 2011 3:08 pm    Post subject: Reply with quote

Sorry I do not fully understand the problem. When you say parameters, are these function parameter names or parameter types?

If your users need to call these methods, then the types and methods should really have a public accessor. If they do, then SmartAssembly will not change the name. If they need to be private for some odd reason, then you can exclude them from obfuscation by editing the project or using the DoNotObfuscate attribute.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group