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)
1843
=> node.Update(VisitList(node.
AttributeLists
), VisitToken(node.OpenBraceToken), VisitList(node.Statements), VisitToken(node.CloseBraceToken));
_generated\2\Syntax.xml.Syntax.Generated.cs (20)
3156
public new AnonymousMethodExpressionSyntax AddBlockAttributeLists(params AttributeListSyntax[] items) => WithBlock(this.Block.WithAttributeLists(this.Block.
AttributeLists
.AddRange(items)));
3297
return WithBlock(block.WithAttributeLists(block.
AttributeLists
.AddRange(items)));
3459
return WithBlock(block.WithAttributeLists(block.
AttributeLists
.AddRange(items)));
6332
if (attributeLists != this.
AttributeLists
|| openBraceToken != this.OpenBraceToken || statements != this.Statements || closeBraceToken != this.CloseBraceToken)
6344
public BlockSyntax WithOpenBraceToken(SyntaxToken openBraceToken) => Update(this.
AttributeLists
, openBraceToken, this.Statements, this.CloseBraceToken);
6345
public BlockSyntax WithStatements(SyntaxList<StatementSyntax> statements) => Update(this.
AttributeLists
, this.OpenBraceToken, statements, this.CloseBraceToken);
6346
public BlockSyntax WithCloseBraceToken(SyntaxToken closeBraceToken) => Update(this.
AttributeLists
, this.OpenBraceToken, this.Statements, closeBraceToken);
6349
public new BlockSyntax AddAttributeLists(params AttributeListSyntax[] items) => WithAttributeLists(this.
AttributeLists
.AddRange(items));
6476
return WithBody(body.WithAttributeLists(body.
AttributeLists
.AddRange(items)));
8198
public CheckedStatementSyntax AddBlockAttributeLists(params AttributeListSyntax[] items) => WithBlock(this.Block.WithAttributeLists(this.Block.
AttributeLists
.AddRange(items)));
8262
public UnsafeStatementSyntax AddBlockAttributeLists(params AttributeListSyntax[] items) => WithBlock(this.Block.WithAttributeLists(this.Block.
AttributeLists
.AddRange(items)));
9066
public TryStatementSyntax AddBlockAttributeLists(params AttributeListSyntax[] items) => WithBlock(this.Block.WithAttributeLists(this.Block.
AttributeLists
.AddRange(items)));
9134
public CatchClauseSyntax AddBlockAttributeLists(params AttributeListSyntax[] items) => WithBlock(this.Block.WithAttributeLists(this.Block.
AttributeLists
.AddRange(items)));
9282
public FinallyClauseSyntax AddBlockAttributeLists(params AttributeListSyntax[] items) => WithBlock(this.Block.WithAttributeLists(this.Block.
AttributeLists
.AddRange(items)));
12457
return WithBody(body.WithAttributeLists(body.
AttributeLists
.AddRange(items)));
12603
return WithBody(body.WithAttributeLists(body.
AttributeLists
.AddRange(items)));
12749
return WithBody(body.WithAttributeLists(body.
AttributeLists
.AddRange(items)));
12873
return WithBody(body.WithAttributeLists(body.
AttributeLists
.AddRange(items)));
13046
return WithBody(body.WithAttributeLists(body.
AttributeLists
.AddRange(items)));
13627
return WithBody(body.WithAttributeLists(body.
AttributeLists
.AddRange(items)));
Binder\Binder_Statements.cs (2)
1910
if (node.
AttributeLists
.Count > 0)
1912
Error(diagnostics, ErrorCode.ERR_AttributesNotAllowed, node.
AttributeLists
[0]);
Syntax\BlockSyntax.cs (1)
12
=> Update(
AttributeLists
, openBraceToken, statements, closeBraceToken);