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)
1863
=> 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)));
6388
if (attributeLists != this.
AttributeLists
|| openBraceToken != this.OpenBraceToken || statements != this.Statements || closeBraceToken != this.CloseBraceToken)
6400
public BlockSyntax WithOpenBraceToken(SyntaxToken openBraceToken) => Update(this.
AttributeLists
, openBraceToken, this.Statements, this.CloseBraceToken);
6401
public BlockSyntax WithStatements(SyntaxList<StatementSyntax> statements) => Update(this.
AttributeLists
, this.OpenBraceToken, statements, this.CloseBraceToken);
6402
public BlockSyntax WithCloseBraceToken(SyntaxToken closeBraceToken) => Update(this.
AttributeLists
, this.OpenBraceToken, this.Statements, closeBraceToken);
6405
public new BlockSyntax AddAttributeLists(params AttributeListSyntax[] items) => WithAttributeLists(this.
AttributeLists
.AddRange(items));
6532
return WithBody(body.WithAttributeLists(body.
AttributeLists
.AddRange(items)));
8292
public CheckedStatementSyntax AddBlockAttributeLists(params AttributeListSyntax[] items) => WithBlock(this.Block.WithAttributeLists(this.Block.
AttributeLists
.AddRange(items)));
8356
public UnsafeStatementSyntax AddBlockAttributeLists(params AttributeListSyntax[] items) => WithBlock(this.Block.WithAttributeLists(this.Block.
AttributeLists
.AddRange(items)));
9160
public TryStatementSyntax AddBlockAttributeLists(params AttributeListSyntax[] items) => WithBlock(this.Block.WithAttributeLists(this.Block.
AttributeLists
.AddRange(items)));
9228
public CatchClauseSyntax AddBlockAttributeLists(params AttributeListSyntax[] items) => WithBlock(this.Block.WithAttributeLists(this.Block.
AttributeLists
.AddRange(items)));
9376
public FinallyClauseSyntax AddBlockAttributeLists(params AttributeListSyntax[] items) => WithBlock(this.Block.WithAttributeLists(this.Block.
AttributeLists
.AddRange(items)));
12718
return WithBody(body.WithAttributeLists(body.
AttributeLists
.AddRange(items)));
12864
return WithBody(body.WithAttributeLists(body.
AttributeLists
.AddRange(items)));
13010
return WithBody(body.WithAttributeLists(body.
AttributeLists
.AddRange(items)));
13134
return WithBody(body.WithAttributeLists(body.
AttributeLists
.AddRange(items)));
13307
return WithBody(body.WithAttributeLists(body.
AttributeLists
.AddRange(items)));
13888
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);