ReSharper 2026.1 Help

Code inspection: Redundant 'scoped' parameter modifier

This inspection reports a scoped parameter modifier when it does not affect escape analysis or overload resolution in that context. In that case, the modifier is unnecessary and only adds noise.

ref struct R { } class C { static void M(scoped R value) { } }
ref struct R { } class C { static void M(R value) { } }

This often appears in pattern variables, deconstruction variables, delegate conversions, and overrides where scoped does not change the actual contract.

13 April 2026