Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. Microsoft.CodeAnalysis.CSharp.Syntax
  3. LocalDeclarationStatementSyntax
  4. AttributeLists
  • LocalDeclarationStatementSyntax
    • AttributeLists
    • AwaitKeyword
    • Declaration
    • IsConst
    • Modifiers
    • SemicolonToken
    • UsingKeyword
    • Accept(CSharpSyntaxVisitor)
    • Accept<TResult>(CSharpSyntaxVisitor<TResult>)
    • AddAttributeLists(AttributeListSyntax[])
    • AddDeclarationVariables(VariableDeclaratorSyntax[])
    • AddModifiers(SyntaxToken[])
    • Update(SyntaxTokenList, VariableDeclarationSyntax, SyntaxToken)
    • Update(SyntaxToken, SyntaxToken, SyntaxTokenList, VariableDeclarationSyntax, SyntaxToken)
    • Update(SyntaxList<AttributeListSyntax>, SyntaxToken, SyntaxToken, SyntaxTokenList, VariableDeclarationSyntax, SyntaxToken)
    • WithAttributeLists(SyntaxList<AttributeListSyntax>)
    • WithAwaitKeyword(SyntaxToken)
    • WithDeclaration(VariableDeclarationSyntax)
    • WithModifiers(SyntaxTokenList)
    • WithSemicolonToken(SyntaxToken)
    • WithUsingKeyword(SyntaxToken)
net9.0
namespace Microsoft.CodeAnalysis.CSharp.Syntax
{
    public sealed class LocalDeclarationStatementSyntax : StatementSyntax
    {
        public override SyntaxList<AttributeListSyntax!> AttributeLists { get; }
    }
}
.NET
5.06.07.08.09.010.0
.NET Core
2.02.12.23.03.1
.NET Framework
4.6.14.6.24.74.7.14.7.24.84.8.1
.NET Standard
2.02.1
Information specific to net9.0
Assembly

Microsoft.CodeAnalysis.CSharp , Version=4.13.0.0, PublicKeyToken=31bf3856ad364e35

Referencing

Your project needs a package reference to Microsoft.CodeAnalysis.CSharp.

Package Microsoft.CodeAnalysis.CSharp (4.13.0) net9.0
Platform Restrictions

The property getter is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

03/18/2025
An error has occurred. This application may no longer respond until reloaded. Reload 🗙