Inspectopedia 2025.2 Help

Redundancies in Code

'if' expression can be replaced with its condition   New in this release

'if' expression can be replaced with its condition.

Format string can be replaced with an interpolated string   New in this release

Format string can be replaced with an interpolated string.

Lambda expression can be replaced with built-in function   New in this release

Lambda expression can be replaced with built-in function.

Lambda expression can be replaced with inner expression   New in this release

Lambda expression can be replaced with inner expression.

Lambda expression can be simplified   New in this release

Lambda expression can be simplified.

Nested record update can be simplified   New in this release

Nested record update can be simplified.

Redundant '.' in indexer   New in this release

Redundant '.' in indexer.

Redundant 'as' pattern   New in this release

Redundant 'as' pattern.

Redundant 'Attribute' suffix  

Redundant 'Attribute' suffix.

Redundant 'new' keyword   New in this release

Redundant 'new' keyword.

Redundant 'open' directive   New in this release

Redundant 'open' directive.

Redundant application   New in this release

Redundant application.

Redundant attribute parentheses argument   New in this release

Redundant attribute parentheses argument.

Redundant concatenation with empty list   New in this release

Redundant concatenation with empty list.

Redundant identifier escaping   New in this release

Redundant identifier escaping.

Redundant name qualifier   New in this release

Redundant name qualifier.

Redundant RequireQualifiedAccess attribute   New in this release

Redundant RequireQualifiedAccess attribute.

Redundant string interpolation  

Redundant string interpolation.

Redundant union case fields matching   New in this release

Redundant union case fields matching.

Remove redundant parentheses  

Remove redundant parentheses.

Shorthand lambda can be used   New in this release

Shorthand lambda can be used.

Use `_` self id   New in this release

Use `_` self id.

Last modified: 29 July 2025