JetBrains Rider
 
Get JetBrains Rider
Get your hands on the new features ahead of the release by joining the Early Access Program for Rider 2025.1! Learn more

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. JetBrains Rider detects such places in your code and suggests the corresponding quick-fix ( AltEnter):