Base:
property
AttributeLists
Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax.AttributeLists
13 references to AttributeLists
Microsoft.CodeAnalysis.CSharp (11)
Syntax.xml.Main.Generated.cs (1)
1900
=> node.Update(VisitList(node.
AttributeLists
), VisitToken(node.AwaitKeyword), VisitToken(node.UsingKeyword), VisitToken(node.OpenParenToken), (VariableDeclarationSyntax?)Visit(node.Declaration), (ExpressionSyntax?)Visit(node.Expression), VisitToken(node.CloseParenToken), (StatementSyntax?)Visit(node.Statement) ?? throw new ArgumentNullException("statement"));
Syntax.xml.Syntax.Generated.cs (9)
7992
if (attributeLists != this.
AttributeLists
|| awaitKeyword != this.AwaitKeyword || usingKeyword != this.UsingKeyword || openParenToken != this.OpenParenToken || declaration != this.Declaration || expression != this.Expression || closeParenToken != this.CloseParenToken || statement != this.Statement)
8004
public UsingStatementSyntax WithAwaitKeyword(SyntaxToken awaitKeyword) => Update(this.
AttributeLists
, awaitKeyword, this.UsingKeyword, this.OpenParenToken, this.Declaration, this.Expression, this.CloseParenToken, this.Statement);
8005
public UsingStatementSyntax WithUsingKeyword(SyntaxToken usingKeyword) => Update(this.
AttributeLists
, this.AwaitKeyword, usingKeyword, this.OpenParenToken, this.Declaration, this.Expression, this.CloseParenToken, this.Statement);
8006
public UsingStatementSyntax WithOpenParenToken(SyntaxToken openParenToken) => Update(this.
AttributeLists
, this.AwaitKeyword, this.UsingKeyword, openParenToken, this.Declaration, this.Expression, this.CloseParenToken, this.Statement);
8007
public UsingStatementSyntax WithDeclaration(VariableDeclarationSyntax? declaration) => Update(this.
AttributeLists
, this.AwaitKeyword, this.UsingKeyword, this.OpenParenToken, declaration, this.Expression, this.CloseParenToken, this.Statement);
8008
public UsingStatementSyntax WithExpression(ExpressionSyntax? expression) => Update(this.
AttributeLists
, this.AwaitKeyword, this.UsingKeyword, this.OpenParenToken, this.Declaration, expression, this.CloseParenToken, this.Statement);
8009
public UsingStatementSyntax WithCloseParenToken(SyntaxToken closeParenToken) => Update(this.
AttributeLists
, this.AwaitKeyword, this.UsingKeyword, this.OpenParenToken, this.Declaration, this.Expression, closeParenToken, this.Statement);
8010
public UsingStatementSyntax WithStatement(StatementSyntax statement) => Update(this.
AttributeLists
, this.AwaitKeyword, this.UsingKeyword, this.OpenParenToken, this.Declaration, this.Expression, this.CloseParenToken, statement);
8013
public new UsingStatementSyntax AddAttributeLists(params AttributeListSyntax[] items) => WithAttributeLists(this.
AttributeLists
.AddRange(items));
Syntax\UsingStatementSyntax.cs (1)
15
=> Update(
AttributeLists
, awaitKeyword, usingKeyword, openParenToken, declaration, expression, closeParenToken, statement);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
12698
Assert.Equal(default, node.
AttributeLists
);
12706
var newNode = node.WithAttributeLists(node.
AttributeLists
).WithAwaitKeyword(node.AwaitKeyword).WithUsingKeyword(node.UsingKeyword).WithOpenParenToken(node.OpenParenToken).WithDeclaration(node.Declaration).WithExpression(node.Expression).WithCloseParenToken(node.CloseParenToken).WithStatement(node.Statement);