Base:
property
AttributeLists
Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax.AttributeLists
24 references to AttributeLists
Microsoft.CodeAnalysis.CSharp (24)
_generated\0\Syntax.xml.Main.Generated.cs (1)
1859
=> node.Update(VisitList(node.
AttributeLists
), VisitToken(node.OpenBraceToken), VisitList(node.Statements), VisitToken(node.CloseBraceToken));
_generated\2\Syntax.xml.Syntax.Generated.cs (20)
3211
public new AnonymousMethodExpressionSyntax AddBlockAttributeLists(params AttributeListSyntax[] items) => WithBlock(this.Block.WithAttributeLists(this.Block.
AttributeLists
.AddRange(items)));
3352
return WithBlock(block.WithAttributeLists(block.
AttributeLists
.AddRange(items)));
3514
return WithBlock(block.WithAttributeLists(block.
AttributeLists
.AddRange(items)));
6386
if (attributeLists != this.
AttributeLists
|| openBraceToken != this.OpenBraceToken || statements != this.Statements || closeBraceToken != this.CloseBraceToken)
6398
public BlockSyntax WithOpenBraceToken(SyntaxToken openBraceToken) => Update(this.
AttributeLists
, openBraceToken, this.Statements, this.CloseBraceToken);
6399
public BlockSyntax WithStatements(SyntaxList<StatementSyntax> statements) => Update(this.
AttributeLists
, this.OpenBraceToken, statements, this.CloseBraceToken);
6400
public BlockSyntax WithCloseBraceToken(SyntaxToken closeBraceToken) => Update(this.
AttributeLists
, this.OpenBraceToken, this.Statements, closeBraceToken);
6403
public new BlockSyntax AddAttributeLists(params AttributeListSyntax[] items) => WithAttributeLists(this.
AttributeLists
.AddRange(items));
6530
return WithBody(body.WithAttributeLists(body.
AttributeLists
.AddRange(items)));
8284
public CheckedStatementSyntax AddBlockAttributeLists(params AttributeListSyntax[] items) => WithBlock(this.Block.WithAttributeLists(this.Block.
AttributeLists
.AddRange(items)));
8348
public UnsafeStatementSyntax AddBlockAttributeLists(params AttributeListSyntax[] items) => WithBlock(this.Block.WithAttributeLists(this.Block.
AttributeLists
.AddRange(items)));
9152
public TryStatementSyntax AddBlockAttributeLists(params AttributeListSyntax[] items) => WithBlock(this.Block.WithAttributeLists(this.Block.
AttributeLists
.AddRange(items)));
9220
public CatchClauseSyntax AddBlockAttributeLists(params AttributeListSyntax[] items) => WithBlock(this.Block.WithAttributeLists(this.Block.
AttributeLists
.AddRange(items)));
9368
public FinallyClauseSyntax AddBlockAttributeLists(params AttributeListSyntax[] items) => WithBlock(this.Block.WithAttributeLists(this.Block.
AttributeLists
.AddRange(items)));
12708
return WithBody(body.WithAttributeLists(body.
AttributeLists
.AddRange(items)));
12854
return WithBody(body.WithAttributeLists(body.
AttributeLists
.AddRange(items)));
13000
return WithBody(body.WithAttributeLists(body.
AttributeLists
.AddRange(items)));
13124
return WithBody(body.WithAttributeLists(body.
AttributeLists
.AddRange(items)));
13297
return WithBody(body.WithAttributeLists(body.
AttributeLists
.AddRange(items)));
13878
return WithBody(body.WithAttributeLists(body.
AttributeLists
.AddRange(items)));
Binder\Binder_Statements.cs (2)
1911
if (node.
AttributeLists
.Count > 0)
1913
Error(diagnostics, ErrorCode.ERR_AttributesNotAllowed, node.
AttributeLists
[0]);
Syntax\BlockSyntax.cs (1)
12
=> Update(
AttributeLists
, openBraceToken, statements, closeBraceToken);