Click here to Skip to main content
15,884,388 members
Articles / Operating Systems / Windows

FXCop 1.32

Rate me:
Please Sign up or sign in to vote.
4.43/5 (12 votes)
17 Oct 20059 min read 106.7K   2.2K   49  
Bad Code in .NET? FxCop to the rescue.
<?xml version="1.0" encoding="utf-8" ?>
<Rules>
	<Rule TypeName="stringwithStr" Category="Design sdsv Rules" CheckId="DR0006">
		<Name>DSCP: String should start with str as prefix.</Name>
		<Description>String should start with str as prefix.</Description>
		<LongDescription>The most important consideration in naming a variable is that the name fully and accurately describe the entity the variable represents. You can almost always think of a better way to differentiate between two variables than by tacking a 1 or a 2 onto the end of the name.</LongDescription>
		<GroupOwner>DSCP</GroupOwner>
		<DevOwner>DSCP</DevOwner>
		<Owner>DSCP</Owner>
		<Url>http://www.patni.com</Url>
		<Resolution>String should start with str '{0}'</Resolution>
		<Email>pravin.kadam@patni.com</Email>
		<MessageLevel Certainty="99">Warning</MessageLevel>
		<Message Certainty="99">Warning</Message>
		<FixCategories>NonBreaking</FixCategories>
	</Rule>
</Rules>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions