JetBrains Rider
 
Get JetBrains Rider
You are viewing the documentation for an earlier version of JetBrains Rider.

Generate Deconstructors

Last modified: 04 October 2021

Code | Generate | Deconstructors

Alt+Insert | Deconstructors

JetBrains Rider helps you quickly generate overloads for the Deconstruct method with selected members.

JetBrains Rider also checks if a type contains the required deconstructor, and if not, suggests a quick-fix based on the tuple deconstruction.

JetBrains Rider: Generating the Deconstruct method with a quick-fix