9 references to Comma
Microsoft.CodeAnalysis.CSharp (7)
Syntax.xml.Main.Generated.cs (1)
1627
=> node.Update(VisitToken(node.Keyword), VisitToken(node.OpenParenToken), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"), VisitToken(node.
Comma
), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), VisitToken(node.CloseParenToken));
Syntax.xml.Syntax.Generated.cs (6)
2237
if (keyword != this.Keyword || openParenToken != this.OpenParenToken || expression != this.Expression || comma != this.
Comma
|| type != this.Type || closeParenToken != this.CloseParenToken)
2247
public RefValueExpressionSyntax WithKeyword(SyntaxToken keyword) => Update(keyword, this.OpenParenToken, this.Expression, this.
Comma
, this.Type, this.CloseParenToken);
2248
public RefValueExpressionSyntax WithOpenParenToken(SyntaxToken openParenToken) => Update(this.Keyword, openParenToken, this.Expression, this.
Comma
, this.Type, this.CloseParenToken);
2249
public RefValueExpressionSyntax WithExpression(ExpressionSyntax expression) => Update(this.Keyword, this.OpenParenToken, expression, this.
Comma
, this.Type, this.CloseParenToken);
2251
public RefValueExpressionSyntax WithType(TypeSyntax type) => Update(this.Keyword, this.OpenParenToken, this.Expression, this.
Comma
, type, this.CloseParenToken);
2252
public RefValueExpressionSyntax WithCloseParenToken(SyntaxToken closeParenToken) => Update(this.Keyword, this.OpenParenToken, this.Expression, this.
Comma
, this.Type, closeParenToken);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
11568
Assert.Equal(SyntaxKind.CommaToken, node.
Comma
.Kind());
11571
var newNode = node.WithKeyword(node.Keyword).WithOpenParenToken(node.OpenParenToken).WithExpression(node.Expression).WithComma(node.
Comma
).WithType(node.Type).WithCloseParenToken(node.CloseParenToken);