SyntaxFactory.AttributeList Method

Definition

Overloads

AttributeList(SeparatedSyntaxList<AttributeSyntax>)

Creates a new AttributeListSyntax instance.

AttributeList(AttributeTargetSpecifierSyntax, SeparatedSyntaxList<AttributeSyntax>)

Creates a new AttributeListSyntax instance.

AttributeList(SyntaxToken, AttributeTargetSpecifierSyntax, SeparatedSyntaxList<AttributeSyntax>, SyntaxToken)

Creates a new AttributeListSyntax instance.

AttributeList(SeparatedSyntaxList<AttributeSyntax>)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Creates a new AttributeListSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax AttributeList (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax> attributes = default);
static member AttributeList : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax
Public Shared Function AttributeList (Optional attributes As SeparatedSyntaxList(Of AttributeSyntax) = Nothing) As AttributeListSyntax

Parameters

Returns

Applies to

AttributeList(AttributeTargetSpecifierSyntax, SeparatedSyntaxList<AttributeSyntax>)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Creates a new AttributeListSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^ AttributeList(Microsoft::CodeAnalysis::CSharp::Syntax::AttributeTargetSpecifierSyntax ^ target, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AttributeSyntax ^> attributes);
public static Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax AttributeList (Microsoft.CodeAnalysis.CSharp.Syntax.AttributeTargetSpecifierSyntax target, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax> attributes);
public static Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax AttributeList (Microsoft.CodeAnalysis.CSharp.Syntax.AttributeTargetSpecifierSyntax? target, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax> attributes);
static member AttributeList : Microsoft.CodeAnalysis.CSharp.Syntax.AttributeTargetSpecifierSyntax * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax
Public Shared Function AttributeList (target As AttributeTargetSpecifierSyntax, attributes As SeparatedSyntaxList(Of AttributeSyntax)) As AttributeListSyntax

Parameters

Returns

Applies to

AttributeList(SyntaxToken, AttributeTargetSpecifierSyntax, SeparatedSyntaxList<AttributeSyntax>, SyntaxToken)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Creates a new AttributeListSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^ AttributeList(Microsoft::CodeAnalysis::SyntaxToken openBracketToken, Microsoft::CodeAnalysis::CSharp::Syntax::AttributeTargetSpecifierSyntax ^ target, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AttributeSyntax ^> attributes, Microsoft::CodeAnalysis::SyntaxToken closeBracketToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax AttributeList (Microsoft.CodeAnalysis.SyntaxToken openBracketToken, Microsoft.CodeAnalysis.CSharp.Syntax.AttributeTargetSpecifierSyntax target, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax> attributes, Microsoft.CodeAnalysis.SyntaxToken closeBracketToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax AttributeList (Microsoft.CodeAnalysis.SyntaxToken openBracketToken, Microsoft.CodeAnalysis.CSharp.Syntax.AttributeTargetSpecifierSyntax? target, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax> attributes, Microsoft.CodeAnalysis.SyntaxToken closeBracketToken);
static member AttributeList : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.AttributeTargetSpecifierSyntax * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax> * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax
Public Shared Function AttributeList (openBracketToken As SyntaxToken, target As AttributeTargetSpecifierSyntax, attributes As SeparatedSyntaxList(Of AttributeSyntax), closeBracketToken As SyntaxToken) As AttributeListSyntax

Parameters

openBracketToken
SyntaxToken
closeBracketToken
SyntaxToken

Returns

Applies to