Base:
property
AttributeLists
Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax.AttributeLists
9 references to AttributeLists
Microsoft.CodeAnalysis.CSharp (7)
Syntax.xml.Main.Generated.cs (1)
1876
=> node.Update(VisitList(node.
AttributeLists
), VisitToken(node.ReturnKeyword), (ExpressionSyntax?)Visit(node.Expression), VisitToken(node.SemicolonToken));
Syntax.xml.Syntax.Generated.cs (5)
7254
if (attributeLists != this.
AttributeLists
|| returnKeyword != this.ReturnKeyword || expression != this.Expression || semicolonToken != this.SemicolonToken)
7266
public ReturnStatementSyntax WithReturnKeyword(SyntaxToken returnKeyword) => Update(this.
AttributeLists
, returnKeyword, this.Expression, this.SemicolonToken);
7267
public ReturnStatementSyntax WithExpression(ExpressionSyntax? expression) => Update(this.
AttributeLists
, this.ReturnKeyword, expression, this.SemicolonToken);
7268
public ReturnStatementSyntax WithSemicolonToken(SyntaxToken semicolonToken) => Update(this.
AttributeLists
, this.ReturnKeyword, this.Expression, semicolonToken);
7271
public new ReturnStatementSyntax AddAttributeLists(params AttributeListSyntax[] items) => WithAttributeLists(this.
AttributeLists
.AddRange(items));
Syntax\ReturnStatementSyntax.cs (1)
12
=> Update(
AttributeLists
, returnKeyword, expression, semicolonToken);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
12569
Assert.Equal(default, node.
AttributeLists
);
12573
var newNode = node.WithAttributeLists(node.
AttributeLists
).WithReturnKeyword(node.ReturnKeyword).WithExpression(node.Expression).WithSemicolonToken(node.SemicolonToken);