AccessorDeclarationSyntax
AttributeLists
Body
ExpressionBody
Keyword
Modifiers
SemicolonToken
Accept(CSharpSyntaxVisitor)
Accept<TResult>(CSharpSyntaxVisitor<TResult>)
AddAttributeLists(AttributeListSyntax[])
AddBodyAttributeLists(AttributeListSyntax[])
AddBodyStatements(StatementSyntax[])
AddModifiers(SyntaxToken[])
Update(SyntaxList<AttributeListSyntax>, SyntaxTokenList, SyntaxToken, BlockSyntax, SyntaxToken)
Update(SyntaxList<AttributeListSyntax>, SyntaxTokenList, SyntaxToken, BlockSyntax, ArrowExpressionClauseSyntax, SyntaxToken)
WithAttributeLists(SyntaxList<AttributeListSyntax>)
WithBody(BlockSyntax)
WithExpressionBody(ArrowExpressionClauseSyntax)
WithKeyword(SyntaxToken)
WithModifiers(SyntaxTokenList)
WithSemicolonToken(SyntaxToken)
net10.0
namespace Microsoft.CodeAnalysis.CSharp.Syntax
{
public sealed class AccessorDeclarationSyntax : CSharpSyntaxNode
{
public AccessorDeclarationSyntax! AddBodyAttributeLists(params AttributeListSyntax![]! items);
}
}
| .NET | 8.09.010.0 |
|---|---|
Information specific to net10.0 | |
| Assembly | Microsoft.CodeAnalysis.CSharp , Version=5.0.0.0, PublicKeyToken=31bf3856ad364e35 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.CodeAnalysis.CSharp (5.0.0) net9.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API