Surprisingly I was only able to find one previous question on SO about this subject, and I\'d just like to get the community \"Vote of Confidence\" (or not!) on my approach.
In .Net, Debug class methods are not included in your program when you do make a release build, so you will have to throw an exception if this code makes it to production.