Geeks With Blogs
kazim mehdi January 2012 Entries
Stylecop Suppress Message
Stylecop great tool from Microsoft to enforce code style rules. Sometimes we like to break 1 or more of its rules and very much like Complier should not complain about it anymore. its easy by adding following attribute in front of element that is going to break the Rule. In the following code its class. [SuppressMessage("StyleCop.... "SA1402:FileMayOnlyContainA... Justification = "its ok here")] Major problem that I faced is getting correct “CheckId” of the rule. ......

Posted On Friday, January 13, 2012 2:42 PM

Copyright © kazim sardar mehdi | Powered by: GeeksWithBlogs.net