Red Gate forums :: View topic - Forcing a method to become inline code?
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

Forcing a method to become inline code?

Search in SmartAssembly 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
eric-914



Joined: 30 Nov 2012
Posts: 28

PostPosted: Mon Dec 10, 2012 10:54 pm    Post subject: Forcing a method to become inline code? Reply with quote

This probably isn't an S/A type of question, but does anyone know how to force the compilation to inline a method? I've got a method that returns if running in debug mode, and if so, overrides a few security checks. However, a hack would just need to override the return value. If this method is called a dozen times, it'd be a whole lot harder to hack if it was inlined for each of the 12 different call locations.
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