Code inspection: Merge nested property patterns

Last modified: 08 November 2024

C# 10 simplifies the pattern-matching syntax with dotted access instead of object pattern nesting. ReSharper detects such places in your code and suggests the corresponding quick-fix ():