Base:
property
AttributeLists
Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax.AttributeLists
8 references to AttributeLists
Microsoft.CodeAnalysis.CSharp (6)
Syntax.xml.Main.Generated.cs (1)
1909
=> node.Update(VisitList(node.
AttributeLists
), VisitToken(node.UnsafeKeyword), (BlockSyntax?)Visit(node.Block) ?? throw new ArgumentNullException("block"));
Syntax.xml.Syntax.Generated.cs (4)
8199
if (attributeLists != this.
AttributeLists
|| unsafeKeyword != this.UnsafeKeyword || block != this.Block)
8211
public UnsafeStatementSyntax WithUnsafeKeyword(SyntaxToken unsafeKeyword) => Update(this.
AttributeLists
, unsafeKeyword, this.Block);
8212
public UnsafeStatementSyntax WithBlock(BlockSyntax block) => Update(this.
AttributeLists
, this.UnsafeKeyword, block);
8215
public new UnsafeStatementSyntax AddAttributeLists(params AttributeListSyntax[] items) => WithAttributeLists(this.
AttributeLists
.AddRange(items));
Syntax\UnsafeStatementSyntax.cs (1)
12
=> Update(
AttributeLists
, unsafeKeyword, block);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
12742
Assert.Equal(default, node.
AttributeLists
);
12745
var newNode = node.WithAttributeLists(node.
AttributeLists
).WithUnsafeKeyword(node.UnsafeKeyword).WithBlock(node.Block);