Class Cs.ParenthesizedVariableDesignation

java.lang.Object
org.openrewrite.csharp.tree.Cs.ParenthesizedVariableDesignation
All Implemented Interfaces:
Cs, Cs.VariableDesignation, org.openrewrite.java.tree.Expression, org.openrewrite.java.tree.J, org.openrewrite.Tree
Enclosing interface:
Cs

public static final class Cs.ParenthesizedVariableDesignation extends Object implements Cs.VariableDesignation, Cs
Represents a parenthesized list of variable declarations used in deconstruction patterns. Example of simple deconstruction:
 int (x, y) = point;
 
Example of nested deconstruction:
 (int count, var (string name, int age)) = GetPersonDetails();
             ^^^^^^^^^^^^^^^^^^^^^^^^^^ nested ParenthesizedVariable
  ^^^^^^^^^ SingleVariableDesignation