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
March 2012
(1)
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)
January, 2007
MSDN Blogs
>
Code Analysis Team Blog
>
January, 2007
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Code Analysis Team Blog
TIP: Scope the Code Analysis Policy to apply to specific source control paths/file types
Posted
over 5 years ago
by
ravkaur
1
Comments
On the forums, we have had posts from customers who want to customize their code analysis policy to skip certain file types such as .sql, docs etc. This is because the policy will block checkins even though code analysis doesn’t apply to those files....
Code Analysis Team Blog
FAQ: When looking at the names of locals in a custom rule, why do I see strange names such as 'CS$1$0000' and 'VB$1$0000'?
Posted
over 5 years ago
by
David M. Kean
0
Comments
Previously we showed you how to access the locals or variables of a method. Once you started to run your rule over an assembly, you might start to notice strange locals with names that start with 'CS$' and 'VB$'. These are compiler generated locals that...
Code Analysis Team Blog
Free sample book chapter on Managed Code Analysis
Posted
over 5 years ago
by
David M. Kean
1
Comments
SearchVB.com is offering a free sample chapter on Managed Code Analysis from the book Professional Visual Studio Team System (co-written by fellow Team System colleague Noah Coad ). Chapter 8, Managed Code Analysis, focuses on how to use Team System...
Code Analysis Team Blog
FAQ: What exception should I throw instead of the reserved exceptions that DoNotRaiseReservedExceptionTypes warns against?
Posted
over 5 years ago
by
David M. Kean
14
Comments
Throwing a general exception type such as System.Exception or System.SystemException in a library or Framework forces consumers to catch all exceptions, including unknown exceptions that they do not know how to handle (see FAQ: Why does FxCop warn against...
Code Analysis Team Blog
TIP: Automatically generate Managed Code Analysis/FxCop suppressions
Posted
over 5 years ago
by
David M. Kean
1
Comments
I see a lot of users attempting to hand code a SuppressMessageAttribute themselves. This can be error prone and is not needed when both Visual Studio and the standalone FxCop can automatically generate these for you. In Visual Studio 2005 Right...
Code Analysis Team Blog
FAQ: How do I fix a violation of MovePInvokesToNativeMethodsClass?
Posted
over 5 years ago
by
David M. Kean
2
Comments
MovePInvokesToNativeMethodsClass fires on P/Invokes (ie methods marked with DllImport) that are not members of one of the following classes; NativeMethods, SafeNativeMethods or UnsafeNativeMethods. For example, the following sample fires this warning...
Code Analysis Team Blog
January Orcas CTP Released!
Posted
over 5 years ago
by
David M. Kean
9
Comments
Update: A Virtual PC image is also available. We've just released the Visual Studio 'Orcas' - January CTP . This is the first of the side-by-side installable CTPs, however, before installing, please read the Release Notes and do not install this on...
Code Analysis Team Blog
Do yourself a favor; install Visual Studio SP1 now
Posted
over 5 years ago
by
David M. Kean
2
Comments
While this may be old news to some, we've had a few reports recently of bugs that were already fixed in Visual Studio Service Pack 1 , so it appears that not everyone is running it. We fixed over 30+ bugs ourselves in Managed Code Analysis, so if you...
Code Analysis Team Blog
And now back to your regularly scheduled FxCop documentation...
Posted
over 5 years ago
by
David M. Kean
0
Comments
As a lot of you noticed, just before Christmas all of our rule documentation links broke from within FxCop. Unfortunately, due to the timing (and with the required people on holidays), we could not get this fixed as soon as we had hoped. However, as...
Page 1 of 1 (9 items)