Base:
property
AttributeLists
Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax.AttributeLists
17 references to AttributeLists
Microsoft.CodeAnalysis.CSharp (15)
_generated\0\Syntax.xml.Main.Generated.cs (1)
2035
=> node.Update(VisitList(node.
AttributeLists
), VisitList(node.Modifiers), VisitToken(node.DelegateKeyword), (TypeSyntax?)Visit(node.ReturnType) ?? throw new ArgumentNullException("returnType"), VisitToken(node.Identifier), (TypeParameterListSyntax?)Visit(node.TypeParameterList), (ParameterListSyntax?)Visit(node.ParameterList) ?? throw new ArgumentNullException("parameterList"), VisitList(node.ConstraintClauses), VisitToken(node.SemicolonToken));
_generated\2\Syntax.xml.Syntax.Generated.cs (10)
11419
if (attributeLists != this.
AttributeLists
|| modifiers != this.Modifiers || delegateKeyword != this.DelegateKeyword || returnType != this.ReturnType || identifier != this.Identifier || typeParameterList != this.TypeParameterList || parameterList != this.ParameterList || constraintClauses != this.ConstraintClauses || semicolonToken != this.SemicolonToken)
11432
public new DelegateDeclarationSyntax WithModifiers(SyntaxTokenList modifiers) => Update(this.
AttributeLists
, modifiers, this.DelegateKeyword, this.ReturnType, this.Identifier, this.TypeParameterList, this.ParameterList, this.ConstraintClauses, this.SemicolonToken);
11433
public DelegateDeclarationSyntax WithDelegateKeyword(SyntaxToken delegateKeyword) => Update(this.
AttributeLists
, this.Modifiers, delegateKeyword, this.ReturnType, this.Identifier, this.TypeParameterList, this.ParameterList, this.ConstraintClauses, this.SemicolonToken);
11434
public DelegateDeclarationSyntax WithReturnType(TypeSyntax returnType) => Update(this.
AttributeLists
, this.Modifiers, this.DelegateKeyword, returnType, this.Identifier, this.TypeParameterList, this.ParameterList, this.ConstraintClauses, this.SemicolonToken);
11435
public DelegateDeclarationSyntax WithIdentifier(SyntaxToken identifier) => Update(this.
AttributeLists
, this.Modifiers, this.DelegateKeyword, this.ReturnType, identifier, this.TypeParameterList, this.ParameterList, this.ConstraintClauses, this.SemicolonToken);
11436
public DelegateDeclarationSyntax WithTypeParameterList(TypeParameterListSyntax? typeParameterList) => Update(this.
AttributeLists
, this.Modifiers, this.DelegateKeyword, this.ReturnType, this.Identifier, typeParameterList, this.ParameterList, this.ConstraintClauses, this.SemicolonToken);
11437
public DelegateDeclarationSyntax WithParameterList(ParameterListSyntax parameterList) => Update(this.
AttributeLists
, this.Modifiers, this.DelegateKeyword, this.ReturnType, this.Identifier, this.TypeParameterList, parameterList, this.ConstraintClauses, this.SemicolonToken);
11438
public DelegateDeclarationSyntax WithConstraintClauses(SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses) => Update(this.
AttributeLists
, this.Modifiers, this.DelegateKeyword, this.ReturnType, this.Identifier, this.TypeParameterList, this.ParameterList, constraintClauses, this.SemicolonToken);
11439
public DelegateDeclarationSyntax WithSemicolonToken(SyntaxToken semicolonToken) => Update(this.
AttributeLists
, this.Modifiers, this.DelegateKeyword, this.ReturnType, this.Identifier, this.TypeParameterList, this.ParameterList, this.ConstraintClauses, semicolonToken);
11442
public new DelegateDeclarationSyntax AddAttributeLists(params AttributeListSyntax[] items) => WithAttributeLists(this.
AttributeLists
.AddRange(items));
Declarations\DeclarationTreeBuilder.cs (2)
840
var declFlags = node.
AttributeLists
.Any()
853
var quickAttributes = DeclarationTreeBuilder.GetQuickAttributes(node.
AttributeLists
);
Declarations\MergedTypeDeclaration.cs (1)
88
attributesSyntaxList = ((DelegateDeclarationSyntax)typeDecl).
AttributeLists
;
src\roslyn\src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (1)
175
AddAttributes(t.
AttributeLists
, attributes);
Microsoft.CodeAnalysis.CSharp.Features (1)
src\roslyn\src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (1)
175
AddAttributes(t.
AttributeLists
, attributes);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
FindSymbols\CSharpDeclaredSymbolInfoFactoryService.cs (1)
296
delegateDecl.
AttributeLists
.Any(),