@@ -11714,9 +11714,9 @@ public WhenClauseSyntax WhenClause
}
}
public SyntaxToken ColonToken
public SyntaxToken EqualsGreaterThanToken
{
get { return new SyntaxToken(this, ((Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SwitchExpressionArmSyntax)this.Green).colonToken, this.GetChildPosition(2), this.GetChildIndex(2)); }
get { return new SyntaxToken(this, ((Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SwitchExpressionArmSyntax)this.Green).equalsGreaterThanToken, this.GetChildPosition(2), this.GetChildIndex(2)); }
}
public ExpressionSyntax Expression
...
...
@@ -11758,11 +11758,11 @@ public override void Accept(CSharpSyntaxVisitor visitor)
visitor.VisitSwitchExpressionArm(this);
}
public SwitchExpressionArmSyntax Update(PatternSyntax pattern, WhenClauseSyntax whenClause, SyntaxToken colonToken, ExpressionSyntax expression)
public SwitchExpressionArmSyntax Update(PatternSyntax pattern, WhenClauseSyntax whenClause, SyntaxToken equalsGreaterThanToken, ExpressionSyntax expression)
var newNode = node.WithPattern(node.Pattern).WithWhenClause(node.WhenClause).WithColonToken(node.ColonToken).WithExpression(node.Expression);
var newNode = node.WithPattern(node.Pattern).WithWhenClause(node.WhenClause).WithEqualsGreaterThanToken(node.EqualsGreaterThanToken).WithExpression(node.Expression);