An externally visible method dereferences one of its reference arguments without verifying whether that argument is null (Nothing in Visual Basic). All reference arguments that are passed to externally visible methods should be checked against null.
Category: Maintainability.
Severity: Warning
A method passes a string literal as a parameter to a constructor or method in the .NET Framework class library and that string should be localizable.
Category: Globalization
Severity: Warning
Conditional expressions which are always true/false and null checks for operations that are always null/non-null lead to dead code. Such conditional expressions should be removed or refactored to avoid dead code.
Category: Maintainability.
Severity: Warning
Help:
A local object of a IDisposable type is created but the object is not disposed before all references to the object are out of scope.
Category: Reliability
Severity: Warning
A method sets the System.Data.IDbCommand.CommandText property by using a string that is built from a string argument to the method.
Category: Security
Severity: Warning
A type that implements System.IDisposable declares fields that are of types that also implement IDisposable. The Dispose method of the field is not called by the Dispose method of the declaring type.
Category: Usage
Severity: Warning
A type that implements System.IDisposable inherits from a type that also implements IDisposable. The Dispose method of the inheriting type does not call the Dispose method of the parent type.
Category: Usage
Severity: Warning