JetBrains Rider 2026.1 Help

Code inspection: Replace with simple assignment

This inspection reports a boolean compound assignment with false that can be simplified to a plain assignment. For booleans, x &= false always makes x equal to false.

Example

isReady &= false;
isReady = false;

Quick-fix

Replace the compound assignment with a simple assignment.

29 March 2026