Home
Products
  CodeIt.Right
  CodeIt.Once for .NET
  PrettyCode.Print for .NET
  PrettyCode.Print
  SmartOutline for VS2005
  .NET Coding Guidelines
Download
Purchase
Support
Contact Us

 Saturday, April 12, 2008

by Serge Baranovsky

This CodeIt.Right rule update includes fixes as well as 3 new security rules.

New rules:

  • Do not declare read only mutable reference types (Security)
  • Seal methods that satisfy private interfaces (Security)
  • Secure GetObjectData overrides (Security)

These rules are included with the default profile and you will only need to follow the wizard to merge them into your custom profiles.

Fixes:

  • Rule "Do not override operator equals on reference types" incorrectly triggered violation for the "Equals" method. Now this rules only reports violation for the operator "==" override.
  • Fixed "If the type is a generic type, CIR adds the apostrophe-count string to the class name for the deserialization constructor"
  • Fixed "If there is no explicit default parameterless constructor, adding the deserialization constructor causes errors in all derived classes that called the parameterless constructor"

As a reminder, this set of rules is distributed using the Rule AutoUpdate feature which triggers 15 minutes after you start Visual Studio. If you turned the feature off, you can manually start the update wizard from the CodeIt.Right/Help & Support/Update Rules menu.

Technorati Tags: , , , , ,

posted on Saturday, April 12, 2008 11:59:05 AM (Pacific Standard Time, UTC-08:00)    #    Comments [0]   
Related posts:
New v1.1 is on the way - download CodeIt.Right Beta build 1.1.08198
PADNUG CodeIt.Right Presentation Slides
Upcoming updates, tutorials and PADNUG presentation
CodeIt.Right v1.0.08035 CodeItRight.Cmd.exe Refresh
CodeIt.Right reviewed by Mike McIntyre
CodeIt.Right Pricing and Limited Time Offer

Referred by:
http://community.submain.com/forums/thread/505.aspx [Referral]
http://submain.com/blog [Referral]
http://submain.com/?nav=products.cir [Referral]
http://submain.com/?nav=products.guidelines&gclid=CJiN3JG74Z... [Referral]
http://submain.com/?nav=products.guidelines&gclid=CPml4ouR4p... [Referral]
http://submain.com/?nav=tutorials.cir [Referral]
http://feeds.feedburner.com/SubMain [Referral]
http://submain.com/download.aspx?product=guidelines [Referral]
http://submain.com/?nav=products.guidelines&gclid=CN_q9anD6p... [Referral]
http://feeds.feedburner.com/ [Referral]
http://submain.com/?nav=products.guidelines&gclid=CPuf-Nvs7p... [Referral]
http://submain.com/?nav=products.pcp [Referral]
http://submain.com/?nav=products.guidelines&gclid=CPLF98na-J... [Referral]
codeit (search.live.com) [Referral]
http://submain.com/default.aspx [Referral]
http://submain.com/?nav=download& [Referral]
http://submain.com/?nav=products.guidelines&utm_campaign=gui... [Referral]
http://submain.com/download.aspx?product=codeit.right& [Referral]
http://submain.com/ [Referral]
http://submain.com/?nav=products.pcp.net [Referral]
http://submain.com/order.aspx [Referral]
http://submain.com/cio/doc/?Operation.InlineVariable [Referral]
http://submain.com/?nav=support [Referral]
codeit (search.live.com) [Referral]
http://feeds.technorati.com/feed/posts/tag/naming+convention... [Referral]
http://submain.com/?nav=products.guidelines&gclid=CI6fpuvkip... [Referral]
http://submain.com/?nav=products.cio [Referral]