Base:
property
AttributeLists
Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax.AttributeLists
9 references to AttributeLists
Microsoft.CodeAnalysis.CSharp (7)
Syntax.xml.Main.Generated.cs (1)
1879
=> node.Update(VisitList(node.
AttributeLists
), VisitToken(node.ThrowKeyword), (ExpressionSyntax?)Visit(node.Expression), VisitToken(node.SemicolonToken));
Syntax.xml.Syntax.Generated.cs (5)
7319
if (attributeLists != this.
AttributeLists
|| throwKeyword != this.ThrowKeyword || expression != this.Expression || semicolonToken != this.SemicolonToken)
7331
public ThrowStatementSyntax WithThrowKeyword(SyntaxToken throwKeyword) => Update(this.
AttributeLists
, throwKeyword, this.Expression, this.SemicolonToken);
7332
public ThrowStatementSyntax WithExpression(ExpressionSyntax? expression) => Update(this.
AttributeLists
, this.ThrowKeyword, expression, this.SemicolonToken);
7333
public ThrowStatementSyntax WithSemicolonToken(SyntaxToken semicolonToken) => Update(this.
AttributeLists
, this.ThrowKeyword, this.Expression, semicolonToken);
7336
public new ThrowStatementSyntax AddAttributeLists(params AttributeListSyntax[] items) => WithAttributeLists(this.
AttributeLists
.AddRange(items));
Syntax\ThrowStatementSyntax.cs (1)
12
=> Update(
AttributeLists
, throwKeyword, expression, semicolonToken);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
12582
Assert.Equal(default, node.
AttributeLists
);
12586
var newNode = node.WithAttributeLists(node.
AttributeLists
).WithThrowKeyword(node.ThrowKeyword).WithExpression(node.Expression).WithSemicolonToken(node.SemicolonToken);