Inspectopedia 2024.3 Help

Assignment issues

Assignment can be replaced with operator assignment  

Reports assignments which can be replaced by an operator assignment.

Assignment to 'for' loop parameter  

Reports assignments to for loop parameters inside the for loop body.

Assignment to method parameter  

Reports assignment to method parameters.

Incompatible type assignments   New in this release

Reports assignments with incompatible types.

Nested assignment  

Reports assignment expressions nested inside other expressions.

Result of assignment used  

Reports assignment expressions nested inside other expressions to use the assigned value immediately.

Silly assignment   New in this release

Reports assignments of a variable to itself.

Unchecked assignment from members of raw type   New in this release

Reports unchecked assignments from members of raw type.

Last modified: 11 September 2024