16 overrides of AttributeLists
Microsoft.CodeAnalysis.CSharp (16)
_generated\2\Syntax.xml.Syntax.Generated.cs (13)
6271public override SyntaxList<AttributeListSyntax> AttributeLists => new SyntaxList<AttributeListSyntax>(GetRed(ref this.attributeLists, 0)); 9689public override SyntaxList<AttributeListSyntax> AttributeLists => new SyntaxList<AttributeListSyntax>(GetRed(ref this.attributeLists, 0)); 9810public override SyntaxList<AttributeListSyntax> AttributeLists => new SyntaxList<AttributeListSyntax>(GetRed(ref this.attributeLists, 0)); 10477public override SyntaxList<AttributeListSyntax> AttributeLists => new SyntaxList<AttributeListSyntax>(GetRed(ref this.attributeLists, 0)); 10643public override SyntaxList<AttributeListSyntax> AttributeLists => new SyntaxList<AttributeListSyntax>(GetRed(ref this.attributeLists, 0)); 10810public override SyntaxList<AttributeListSyntax> AttributeLists => new SyntaxList<AttributeListSyntax>(GetRed(ref this.attributeLists, 0)); 10977public override SyntaxList<AttributeListSyntax> AttributeLists => new SyntaxList<AttributeListSyntax>(GetRed(ref this.attributeLists, 0)); 11143public override SyntaxList<AttributeListSyntax> AttributeLists => new SyntaxList<AttributeListSyntax>(GetRed(ref this.attributeLists, 0)); 11315public override SyntaxList<AttributeListSyntax> AttributeLists => new SyntaxList<AttributeListSyntax>(GetRed(ref this.attributeLists, 0)); 11454public override SyntaxList<AttributeListSyntax> AttributeLists => new SyntaxList<AttributeListSyntax>(GetRed(ref this.attributeLists, 0)); 11563public override SyntaxList<AttributeListSyntax> AttributeLists => new SyntaxList<AttributeListSyntax>(GetRed(ref this.attributeLists, 0)); 11643public override SyntaxList<AttributeListSyntax> AttributeLists => new SyntaxList<AttributeListSyntax>(GetRed(ref this.attributeLists, 0)); 14249public override SyntaxList<AttributeListSyntax> AttributeLists => new SyntaxList<AttributeListSyntax>(GetRed(ref this.attributeLists, 0));
Syntax\BaseFieldDeclarationSyntax.cs (1)
9public abstract override SyntaxList<AttributeListSyntax> AttributeLists { get; }
Syntax\BaseMethodDeclarationSyntax.cs (1)
9public abstract override SyntaxList<AttributeListSyntax> AttributeLists { get; }
Syntax\BasePropertyDeclarationSyntax.cs (1)
9public abstract override SyntaxList<AttributeListSyntax> AttributeLists { get; }
28 references to AttributeLists
Microsoft.CodeAnalysis.CSharp (10)
Binder\BinderFactory.BinderFactoryVisitor.cs (1)
733else if (LookupPosition.IsInAttributeSpecification(_position, parent.AttributeLists))
Declarations\DeclarationTreeBuilder.cs (5)
591if (node.AttributeLists.Count > 0) 593diagnostics.Add(ErrorCode.ERR_BadModifiersOnNamespace, node.AttributeLists[0].GetLocation()); 709var declFlags = node.AttributeLists.Any() 735foreach (var attributeListSyntax in node.AttributeLists) 788var quickAttributes = GetQuickAttributes(node.AttributeLists);
Declarations\MergedTypeDeclaration.cs (1)
84attributesSyntaxList = ((TypeDeclarationSyntax)typeDecl).AttributeLists;
src\roslyn\src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (1)
134AddAttributes(t.AttributeLists, attributes);
Symbols\Source\SourceEventSymbol.cs (1)
148return memberSyntax.AttributeLists;
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (1)
178GetSyntax().AttributeLists.Contains(attributeDeclarationSyntax))
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\roslyn\src\Analyzers\CSharp\Analyzers\ConvertProgram\ConvertProgramAnalysis_TopLevelStatements.cs (2)
113if (typeDeclaration.AttributeLists.Count > 0) 128if (member.AttributeLists.Count > 0)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions_GetAttributes.cs (1)
15return member != null ? member.AttributeLists : [];
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
162MemberDeclarationSyntax memberDecl => memberDecl.AttributeLists,
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\roslyn\src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (1)
420typeDeclaration.AttributeLists,
src\roslyn\src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (1)
158var finalAttributeLists = currentTypeDeclaration.AttributeLists.AddRange(
Microsoft.CodeAnalysis.CSharp.Features (6)
ConvertPrimaryToRegularConstructor\ConvertPrimaryToRegularConstructorCodeRefactoringProvider.cs (1)
103var methodTargetingAttributes = typeDeclaration.AttributeLists.Where(list => list.Target?.Identifier.ValueText == "method");
src\roslyn\src\Analyzers\CSharp\Analyzers\ConvertProgram\ConvertProgramAnalysis_TopLevelStatements.cs (2)
113if (typeDeclaration.AttributeLists.Count > 0) 128if (member.AttributeLists.Count > 0)
src\roslyn\src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (1)
420typeDeclaration.AttributeLists,
src\roslyn\src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (1)
158var finalAttributeLists = currentTypeDeclaration.AttributeLists.AddRange(
src\roslyn\src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (1)
134AddAttributes(t.AttributeLists, attributes);
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
1192MemberDeclarationSyntax memberDecl => memberDecl.AttributeLists,
FindSymbols\CSharpDeclaredSymbolInfoFactoryService.cs (1)
230typeDeclaration.AttributeLists.Any(),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions_GetAttributes.cs (1)
15return member != null ? member.AttributeLists : [];
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
162MemberDeclarationSyntax memberDecl => memberDecl.AttributeLists,
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions_GetAttributes.cs (1)
15return member != null ? member.AttributeLists : [];
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
162MemberDeclarationSyntax memberDecl => memberDecl.AttributeLists,