Code inspection: Remove redundant pattern-matching parentheses
This inspection reports parentheses around a pattern when they do not affect meaning. Removing them makes the pattern easier to read.
Example
bool matches = value is 1 or ((X and { Foo: "aaa" }));
bool matches = value is 1 or (X and { Foo: "aaa" });
Quick-fix
The quick-fix removes the redundant parentheses.
13 April 2026