Code Inspections Reference
- Code Inspection: Use preferred body style (convert to local function with preferred body style)
- Code Inspection: Use preferred body style (convert to constructor or destructor with preferred body style)
- Code Inspection: Use preferred body style (convert to property, indexer or event with preferred body style)
- Code Inspection: Use preferred body style (convert to method or operator with preferred body style)
- Code Inspection: Redundant lambda signature parentheses
- Code Inspection: Empty 'for' loop is redundant
- Code Inspection: Empty statement is redundant
- Code Inspection: Redundant 'partial' modifier on method declaration
- Code Inspection: Redundant 'partial' modifier on type declaration
- Code Inspection: Redundant 'case' label
- Code Inspection: Parentheses are redundant if attribute has no arguments
- Code Inspection: Redundant member override
- Code Inspection: Parameter type can be IEnumerable<T> (non-private accessibility)
- Code Inspection: Convert delegate variable to local function
- Code Inspection: Join null check with assignment
- Code Inspection: Local function never used
- Code Inspection: Class is never instantiated (non-private accessibility)
- Code Inspection: EmptyDestructor
- Code Inspection: Use collection’s count property
- Code Inspection: Use object or collection initializer when possible
- Code Inspection: ASP.NET dead code
- Code Inspection: Using of coerced equality
- Code Inspection: Local variable has too wide declaration scope
- Code Inspection: Unused local variable
- Code Inspection: Virtual(overridable) member is never overridden (non-private accessibility)
- Code Inspection: Use 'nameof' expression to reference name
- Code Inspection: '??' condition is known to be always null or not null
- Code Inspection: For-loop can be converted into foreach-loop
- Code Inspection: Replace if statement with null-propagating code
- Code Inspection: Convert to lambda expression
Last modified: 12 October 2017