CA1811: Avoid uncalled private code
Visual Studio 2010
TypeName | AvoidUncalledPrivateCode |
CheckId | CA1811 |
Category | Microsoft.Performance |
Breaking Change | Non-breaking |
A private or internal (assembly-level) member does not have callers in the assembly, is not invoked by the common language runtime, and is not invoked by a delegate. The following members are not checked by this rule:
Explicit interface members.
Static constructors.
Serialization constructors.
Methods marked with System.Runtime.InteropServices.ComRegisterFunctionAttribute or System.Runtime.InteropServices.ComUnregisterFunctionAttribute.
Members that are overrides.