コードインスペクション: あいまいな優先順位を避けるために丸括弧を追加する
多くの場合、式の括弧はオプションです。 Sometimes they help you clarify precedence of operations — for example if ((a & b) | c). Sometimes, however, they do not help at all and only add clutter — var d = a + (b + c);. ReSharper will help you define where optional parentheses are helpful to you, and then either clean up the redundant parentheses or automatically add missing ones where necessary.
オプションの括弧の設定と強制の詳細については、「コードの構文スタイル: オプションの括弧 」を参照してください。
2026 年 11 月 6 日