Sign In
Code Analysis Team Blog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
ASP.NET
Books
Bugs
C++
Code Analysis
Code Analysis Policy
Code Metrics
CodeCommunit Analysis
Community
Configuration
Custom Rules
Documentation
Exceptions
FAQ
Framework Design Guidelines
FxCop
Releases
Rules
Suppressions
Team System
Tips and Tricks
Tools
tsbt-dev
Visual Studio 2005
Visual Studio 2008
Archive
Archives
April 2011
(1)
July 2010
(1)
April 2010
(1)
March 2010
(3)
November 2008
(1)
August 2008
(2)
June 2008
(1)
February 2008
(3)
January 2008
(4)
December 2007
(1)
November 2007
(5)
October 2007
(2)
September 2007
(3)
August 2007
(4)
July 2007
(5)
May 2007
(7)
April 2007
(3)
March 2007
(2)
February 2007
(8)
January 2007
(9)
December 2006
(4)
November 2006
(2)
October 2006
(3)
September 2006
(2)
August 2006
(3)
July 2006
(1)
June 2006
(6)
May 2006
(3)
April 2006
(7)
March 2006
(3)
June 2004
(2)
May 2004
(2)
April 2004
(1)
March 2004
(3)
February 2004
(2)
January 2004
(4)
April, 2006
MSDN Blogs
>
Code Analysis Team Blog
>
April, 2006
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Code Analysis Team Blog
FAQ: Why does DoNotExposeGenericLists recommend that I expose Collection<T> instead of List<T>? [David Kean]
Posted
over 6 years ago
by
David M. Kean
3
Comments
DoNotExposeGenericLists fires when I publicly expose List<T> via a field, method, property, or parameter. Why? Although Krzysztof briefly touched on this last year , we wanted to expand on this a little through the use of examples. The first...
Code Analysis Team Blog
FxCop Chat - This Wed @ 10 AM
Posted
over 6 years ago
by
David M. Kean
0
Comments
Update: The transcript for this chat can be found here . Join the chat on April 19th, 2006 10:00am - 11:00am Pacific time. Our team, Team System Developer and Tester Tools (Unit Testing, Web Testing, Load Testing, Profiling, Code Analysis (FxCop...
Code Analysis Team Blog
Seen any Microsoft produced code that doesn't pass Code Analysis/FxCop? [David Kean]
Posted
over 6 years ago
by
David M. Kean
16
Comments
As some of you may already know, the majority of the Developer Division is currently planning features to be included in the next version of Visual Studio (Orcas). As part of this planning phase, the Managed Code Analysis (FxCop) team is beginning to...
Code Analysis Team Blog
FAQ: How do I access the locals of a method in a custom rule? [Michael Fanning, David Kean]
Posted
over 6 years ago
by
David M. Kean
4
Comments
Note: The custom rules API is likely to change in the next version of FxCop/Visual Studio. Currently, the locals of a method are stored in a pseudo-instruction in the method's InstructionList. We plan to change this in a future version of the tool...
Code Analysis Team Blog
FAQ: Why do some sources recommend extending ApplicationException while FxCop does not? [Michael Fanning, David Kean]
Posted
over 6 years ago
by
David M. Kean
7
Comments
TypesShouldNotExtendCertainBaseTypes fires on types that derive from ApplicationException and DoNotRaiseReservedExceptionTypes on members that throw ApplicationException. Why? There are several outdated documents floating around on the web (some orginally...
Code Analysis Team Blog
FAQ: How do I indicate to DoNotDeclareReadOnlyMutableReferenceTypes that a type is immutable? [David Kean]
Posted
over 6 years ago
by
David M. Kean
2
Comments
DoNotDeclareReadOnlyMutableReferenceTypes is a rule that checks for visible read-only fields that are mutable reference types (classes). A mutable type is a type whose instance data can be changed once it has been constructed. For example, the following...
Code Analysis Team Blog
FxCop 1.35 RC1 online
Posted
over 6 years ago
by
Jeffrey van Gogh
12
Comments
Last week we had a push to fix many of the issues reported on the forum and include them in the FxCop 1.35 release. 32 bugs later, we have a release candidate ready. The code changes between FxCop 1.35 Beta 1 and RC 1 range from simple bugs such as...
Page 1 of 1 (7 items)