329 references to AttributeList
Microsoft.CodeAnalysis.CSharp (1)
Parser\LanguageParser.cs (1)
1113this.CurrentNodeKind == SyntaxKind.AttributeList &&
Microsoft.CodeAnalysis.CSharp.CodeStyle (6)
src\Analyzers\CSharp\Analyzers\RemoveUnnecessarySuppressions\CSharpRemoveUnnecessaryAttributeSuppressionsDiagnosticAnalyzer.cs (1)
30}, SyntaxKind.AttributeList);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (2)
249if (previousKind == SyntaxKind.CloseBracketToken && previousToken.Parent.IsKind(SyntaxKind.AttributeList)) 253currentToken.Parent.IsKind(SyntaxKind.AttributeList))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (2)
288previousToken.Parent.IsKind(SyntaxKind.AttributeList) && 375currentToken.Parent?.Kind() is not SyntaxKind.CollectionExpression and not SyntaxKind.AttributeList &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
277case SyntaxKind.AttributeList:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (13)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (4)
328token.Parent.IsKind(SyntaxKind.AttributeList) && 368token.Parent.IsKind(SyntaxKind.AttributeList)) 392token.Parent.IsKind(SyntaxKind.AttributeList) && 408token.Parent.IsKind(SyntaxKind.AttributeList) &&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (4)
177if (token.Parent.IsKind(SyntaxKind.AttributeList)) 259if (token.Parent.IsKind(SyntaxKind.AttributeList)) 605targetToken.Parent.IsKind(SyntaxKind.AttributeList) && 650targetToken.Parent.IsKind(SyntaxKind.AttributeList) &&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (5)
36token.Parent.IsKind(SyntaxKind.AttributeList)) 44token.Parent.IsKind(SyntaxKind.AttributeList)) 220token.Parent.IsKind(SyntaxKind.AttributeList)) 507token.Parent.IsKind(SyntaxKind.AttributeList)) 1097token.Parent.IsKind(SyntaxKind.AttributeList) &&
Microsoft.CodeAnalysis.CSharp.Features (9)
Completion\KeywordRecommenders\AssemblyKeywordRecommender.cs (1)
24token.GetRequiredParent().Kind() == SyntaxKind.AttributeList)
Completion\KeywordRecommenders\NamespaceKeywordRecommender.cs (1)
155token.Parent.IsKind(SyntaxKind.AttributeList) &&
Completion\KeywordRecommenders\ParamKeywordRecommender.cs (1)
29token.Parent.IsKind(SyntaxKind.AttributeList))
Completion\KeywordRecommenders\TypeVarKeywordRecommender.cs (1)
24token.Parent.IsKind(SyntaxKind.AttributeList))
EditAndContinue\SyntaxComparer.cs (3)
666case SyntaxKind.AttributeList: 912case SyntaxKind.AttributeList: 1495case SyntaxKind.AttributeList:
src\Analyzers\CSharp\Analyzers\RemoveUnnecessarySuppressions\CSharpRemoveUnnecessaryAttributeSuppressionsDiagnosticAnalyzer.cs (1)
30}, SyntaxKind.AttributeList);
Structure\CSharpStructureHelpers.cs (1)
377if (child.Kind() != SyntaxKind.AttributeList)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (267)
IncrementalParsing\IncrementalParsingTests.cs (1)
795N(SyntaxKind.AttributeList);
Parsing\AnonymousFunctionParsingTests.cs (2)
2303N(SyntaxKind.AttributeList); 2383N(SyntaxKind.AttributeList);
Parsing\CollectionExpressionParsingTests.cs (61)
325N(SyntaxKind.AttributeList); 452N(SyntaxKind.AttributeList); 585N(SyntaxKind.AttributeList); 12007N(SyntaxKind.AttributeList); 12079N(SyntaxKind.AttributeList); 12425N(SyntaxKind.AttributeList); 12492N(SyntaxKind.AttributeList); 12559N(SyntaxKind.AttributeList); 12642N(SyntaxKind.AttributeList); 12739N(SyntaxKind.AttributeList); 12797N(SyntaxKind.AttributeList); 12814N(SyntaxKind.AttributeList); 12877N(SyntaxKind.AttributeList); 13074N(SyntaxKind.AttributeList); 13086N(SyntaxKind.AttributeList); 13223N(SyntaxKind.AttributeList); 13235N(SyntaxKind.AttributeList); 13388N(SyntaxKind.AttributeList); 13400N(SyntaxKind.AttributeList); 13441N(SyntaxKind.AttributeList); 13566N(SyntaxKind.AttributeList); 13578N(SyntaxKind.AttributeList); 13760N(SyntaxKind.AttributeList); 13772N(SyntaxKind.AttributeList); 15588N(SyntaxKind.AttributeList); 15655N(SyntaxKind.AttributeList); 15742N(SyntaxKind.AttributeList); 15754N(SyntaxKind.AttributeList); 15821N(SyntaxKind.AttributeList); 15833N(SyntaxKind.AttributeList); 15920N(SyntaxKind.AttributeList); 15932N(SyntaxKind.AttributeList); 16003N(SyntaxKind.AttributeList); 16015N(SyntaxKind.AttributeList); 16106N(SyntaxKind.AttributeList); 16118N(SyntaxKind.AttributeList); 16197N(SyntaxKind.AttributeList); 16209N(SyntaxKind.AttributeList); 16308N(SyntaxKind.AttributeList); 16320N(SyntaxKind.AttributeList); 16404N(SyntaxKind.AttributeList); 16416N(SyntaxKind.AttributeList); 16520N(SyntaxKind.AttributeList); 16532N(SyntaxKind.AttributeList); 16603N(SyntaxKind.AttributeList); 16615N(SyntaxKind.AttributeList); 16706N(SyntaxKind.AttributeList); 16718N(SyntaxKind.AttributeList); 16787N(SyntaxKind.AttributeList); 16799N(SyntaxKind.AttributeList); 16994N(SyntaxKind.AttributeList); 17191N(SyntaxKind.AttributeList); 17268N(SyntaxKind.AttributeList); 17424N(SyntaxKind.AttributeList); 17509N(SyntaxKind.AttributeList); 17673N(SyntaxKind.AttributeList); 17755N(SyntaxKind.AttributeList); 17916N(SyntaxKind.AttributeList); 18006N(SyntaxKind.AttributeList); 18542N(SyntaxKind.AttributeList); 18568N(SyntaxKind.AttributeList);
Parsing\DeclarationParsingTests.cs (12)
265Assert.Equal(SyntaxKind.AttributeList, file.AttributeLists[0].Kind()); 291Assert.Equal(SyntaxKind.AttributeList, file.AttributeLists[0].Kind()); 320Assert.Equal(SyntaxKind.AttributeList, file.AttributeLists[0].Kind()); 349Assert.Equal(SyntaxKind.AttributeList, file.AttributeLists[0].Kind()); 376Assert.Equal(SyntaxKind.AttributeList, file.AttributeLists[0].Kind()); 404Assert.Equal(SyntaxKind.AttributeList, file.AttributeLists[0].Kind()); 434Assert.Equal(SyntaxKind.AttributeList, file.AttributeLists[0].Kind()); 465Assert.Equal(SyntaxKind.AttributeList, file.AttributeLists[0].Kind()); 501Assert.Equal(SyntaxKind.AttributeList, file.AttributeLists[0].Kind()); 533Assert.Equal(SyntaxKind.AttributeList, file.AttributeLists[0].Kind()); 7598N(SyntaxKind.AttributeList); 7660N(SyntaxKind.AttributeList);
Parsing\DeclarationScopeParsingTests.cs (4)
1207N(SyntaxKind.AttributeList); 1229N(SyntaxKind.AttributeList); 11528N(SyntaxKind.AttributeList); 11554N(SyntaxKind.AttributeList);
Parsing\ExpressionParsingTests.cs (1)
6282N(SyntaxKind.AttributeList);
Parsing\LambdaAttributeParsingTests.cs (65)
46N(SyntaxKind.AttributeList); 86N(SyntaxKind.AttributeList); 136N(SyntaxKind.AttributeList); 148N(SyntaxKind.AttributeList); 202N(SyntaxKind.AttributeList); 243N(SyntaxKind.AttributeList); 331N(SyntaxKind.AttributeList); 364N(SyntaxKind.AttributeList); 399N(SyntaxKind.AttributeList); 438N(SyntaxKind.AttributeList); 481N(SyntaxKind.AttributeList); 524N(SyntaxKind.AttributeList); 563N(SyntaxKind.AttributeList); 575N(SyntaxKind.AttributeList); 606N(SyntaxKind.AttributeList); 649N(SyntaxKind.AttributeList); 689N(SyntaxKind.AttributeList); 727N(SyntaxKind.AttributeList); 767N(SyntaxKind.AttributeList); 810N(SyntaxKind.AttributeList); 853N(SyntaxKind.AttributeList); 1016N(SyntaxKind.AttributeList); 1121N(SyntaxKind.AttributeList); 1160N(SyntaxKind.AttributeList); 1314N(SyntaxKind.AttributeList); 1398N(SyntaxKind.AttributeList); 1438N(SyntaxKind.AttributeList); 1486N(SyntaxKind.AttributeList); 1573N(SyntaxKind.AttributeList); 1619N(SyntaxKind.AttributeList); 1666N(SyntaxKind.AttributeList); 1722N(SyntaxKind.AttributeList); 1757N(SyntaxKind.AttributeList); 1798N(SyntaxKind.AttributeList); 1856N(SyntaxKind.AttributeList); 1904N(SyntaxKind.AttributeList); 2283N(SyntaxKind.AttributeList); 2345N(SyntaxKind.AttributeList); 2407N(SyntaxKind.AttributeList); 2477N(SyntaxKind.AttributeList); 2661N(SyntaxKind.AttributeList); 2820N(SyntaxKind.AttributeList); 2853N(SyntaxKind.AttributeList); 2899N(SyntaxKind.AttributeList); 2927N(SyntaxKind.AttributeList); 3029N(SyntaxKind.AttributeList); 3054N(SyntaxKind.AttributeList); 3100N(SyntaxKind.AttributeList); 3125N(SyntaxKind.AttributeList); 3173N(SyntaxKind.AttributeList); 3198N(SyntaxKind.AttributeList); 3238N(SyntaxKind.AttributeList); 3284N(SyntaxKind.AttributeList); 3332N(SyntaxKind.AttributeList); 3400N(SyntaxKind.AttributeList); 3439N(SyntaxKind.AttributeList); 3476N(SyntaxKind.AttributeList); 3523N(SyntaxKind.AttributeList); 3725N(SyntaxKind.AttributeList); 3847N(SyntaxKind.AttributeList); 3976N(SyntaxKind.AttributeList); 4073N(SyntaxKind.AttributeList); 4190N(SyntaxKind.AttributeList); 4227N(SyntaxKind.AttributeList); 4362N(SyntaxKind.AttributeList);
Parsing\LambdaParameterParsingTests.cs (3)
3404N(SyntaxKind.AttributeList); 3485N(SyntaxKind.AttributeList); 5771N(SyntaxKind.AttributeList);
Parsing\LambdaReturnTypeParsingTests.cs (10)
1804N(SyntaxKind.AttributeList); 1849N(SyntaxKind.AttributeList); 5477N(SyntaxKind.AttributeList); 5520N(SyntaxKind.AttributeList); 5532N(SyntaxKind.AttributeList); 5571N(SyntaxKind.AttributeList); 5626N(SyntaxKind.AttributeList); 5684N(SyntaxKind.AttributeList); 5737N(SyntaxKind.AttributeList); 5803N(SyntaxKind.AttributeList);
Parsing\LocalFunctionParsingTests.cs (8)
398N(SyntaxKind.AttributeList); 428N(SyntaxKind.AttributeList); 463N(SyntaxKind.AttributeList); 497N(SyntaxKind.AttributeList); 509N(SyntaxKind.AttributeList); 942N(SyntaxKind.AttributeList); 1022N(SyntaxKind.AttributeList); 1116N(SyntaxKind.AttributeList);
Parsing\ParserErrorMessageTests.cs (1)
5716N(SyntaxKind.AttributeList);
Parsing\ScriptParsingTests.cs (11)
2290N(SyntaxKind.AttributeList); 2307N(SyntaxKind.AttributeList); 2326N(SyntaxKind.AttributeList); 2356N(SyntaxKind.AttributeList); 2383N(SyntaxKind.AttributeList); 2402N(SyntaxKind.AttributeList); 2421N(SyntaxKind.AttributeList); 2440N(SyntaxKind.AttributeList); 3544N(SyntaxKind.AttributeList); 3602N(SyntaxKind.AttributeList); 3970N(SyntaxKind.AttributeList);
Parsing\SingleLineDeclarationParsingTests.cs (1)
797N(SyntaxKind.AttributeList);
Parsing\StatementAttributeParsingTests.cs (80)
55N(SyntaxKind.AttributeList); 121N(SyntaxKind.AttributeList); 188N(SyntaxKind.AttributeList); 276N(SyntaxKind.AttributeList); 383N(SyntaxKind.AttributeList); 468N(SyntaxKind.AttributeList); 537N(SyntaxKind.AttributeList); 603N(SyntaxKind.AttributeList); 672N(SyntaxKind.AttributeList); 746N(SyntaxKind.AttributeList); 823N(SyntaxKind.AttributeList); 898N(SyntaxKind.AttributeList); 973N(SyntaxKind.AttributeList); 1051N(SyntaxKind.AttributeList); 1145N(SyntaxKind.AttributeList); 1263N(SyntaxKind.AttributeList); 1361N(SyntaxKind.AttributeList); 1437N(SyntaxKind.AttributeList); 1524N(SyntaxKind.AttributeList); 1628N(SyntaxKind.AttributeList); 1726N(SyntaxKind.AttributeList); 1799N(SyntaxKind.AttributeList); 1866N(SyntaxKind.AttributeList); 1936N(SyntaxKind.AttributeList); 2118N(SyntaxKind.AttributeList); 2194N(SyntaxKind.AttributeList); 2270N(SyntaxKind.AttributeList); 2367N(SyntaxKind.AttributeList); 2459N(SyntaxKind.AttributeList); 2587N(SyntaxKind.AttributeList); 2679N(SyntaxKind.AttributeList); 2761N(SyntaxKind.AttributeList); 2861N(SyntaxKind.AttributeList); 2957N(SyntaxKind.AttributeList); 3049N(SyntaxKind.AttributeList); 3145N(SyntaxKind.AttributeList); 3222N(SyntaxKind.AttributeList); 3292N(SyntaxKind.AttributeList); 3375N(SyntaxKind.AttributeList); 3455N(SyntaxKind.AttributeList); 3537N(SyntaxKind.AttributeList); 3619N(SyntaxKind.AttributeList); 3709N(SyntaxKind.AttributeList); 3790N(SyntaxKind.AttributeList); 3864N(SyntaxKind.AttributeList); 3957N(SyntaxKind.AttributeList); 4048N(SyntaxKind.AttributeList); 4133N(SyntaxKind.AttributeList); 4210N(SyntaxKind.AttributeList); 4293N(SyntaxKind.AttributeList); 4377N(SyntaxKind.AttributeList); 4465N(SyntaxKind.AttributeList); 4554N(SyntaxKind.AttributeList); 4643N(SyntaxKind.AttributeList); 4721N(SyntaxKind.AttributeList); 4804N(SyntaxKind.AttributeList); 4899N(SyntaxKind.AttributeList); 4990N(SyntaxKind.AttributeList); 5067N(SyntaxKind.AttributeList); 5147N(SyntaxKind.AttributeList); 5227N(SyntaxKind.AttributeList); 5305N(SyntaxKind.AttributeList); 5391N(SyntaxKind.AttributeList); 5476N(SyntaxKind.AttributeList); 5670N(SyntaxKind.AttributeList); 5779N(SyntaxKind.AttributeList); 5885N(SyntaxKind.AttributeList); 6155N(SyntaxKind.AttributeList); 6241N(SyntaxKind.AttributeList); 6325N(SyntaxKind.AttributeList); 6403N(SyntaxKind.AttributeList); 6482N(SyntaxKind.AttributeList); 6569N(SyntaxKind.AttributeList); 6674N(SyntaxKind.AttributeList); 6813N(SyntaxKind.AttributeList); 7076N(SyntaxKind.AttributeList); 7183N(SyntaxKind.AttributeList); 7284N(SyntaxKind.AttributeList); 7393N(SyntaxKind.AttributeList); 7474N(SyntaxKind.AttributeList);
Parsing\TopLevelStatementsParsingTests.cs (5)
193N(SyntaxKind.AttributeList); 214N(SyntaxKind.AttributeList); 1766N(SyntaxKind.AttributeList); 2458N(SyntaxKind.AttributeList); 2634N(SyntaxKind.AttributeList);
Parsing\UsingDirectiveParsingTests.cs (2)
3680N(SyntaxKind.AttributeList); 3842N(SyntaxKind.AttributeList);
Microsoft.CodeAnalysis.CSharp.Workspaces (25)
CodeGeneration\CSharpSyntaxGenerator.cs (7)
1113case SyntaxKind.AttributeList: 1161case SyntaxKind.AttributeList: 1181case SyntaxKind.AttributeList: 1290case SyntaxKind.AttributeList: 1331SyntaxKind.AttributeList => ((AttributeListSyntax)declaration).Attributes.Count, 2833case SyntaxKind.AttributeList: 2979SyntaxKind.AttributeList => ((AttributeListSyntax)declaration).Attributes,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (2)
249if (previousKind == SyntaxKind.CloseBracketToken && previousToken.Parent.IsKind(SyntaxKind.AttributeList)) 253currentToken.Parent.IsKind(SyntaxKind.AttributeList))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (2)
288previousToken.Parent.IsKind(SyntaxKind.AttributeList) && 375currentToken.Parent?.Kind() is not SyntaxKind.CollectionExpression and not SyntaxKind.AttributeList &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
277case SyntaxKind.AttributeList:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (4)
328token.Parent.IsKind(SyntaxKind.AttributeList) && 368token.Parent.IsKind(SyntaxKind.AttributeList)) 392token.Parent.IsKind(SyntaxKind.AttributeList) && 408token.Parent.IsKind(SyntaxKind.AttributeList) &&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (4)
177if (token.Parent.IsKind(SyntaxKind.AttributeList)) 259if (token.Parent.IsKind(SyntaxKind.AttributeList)) 605targetToken.Parent.IsKind(SyntaxKind.AttributeList) && 650targetToken.Parent.IsKind(SyntaxKind.AttributeList) &&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (5)
36token.Parent.IsKind(SyntaxKind.AttributeList)) 44token.Parent.IsKind(SyntaxKind.AttributeList)) 220token.Parent.IsKind(SyntaxKind.AttributeList)) 507token.Parent.IsKind(SyntaxKind.AttributeList)) 1097token.Parent.IsKind(SyntaxKind.AttributeList) &&
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (7)
CodeGeneration\SyntaxGeneratorTests.cs (7)
4144Assert.Equal(SyntaxKind.AttributeList, xNamedQ.Kind()); 4149Assert.Equal(SyntaxKind.AttributeList, xWithArg.Kind()); 4324Assert.Equal(SyntaxKind.AttributeList, xNamedQ.Kind()); 4329Assert.Equal(SyntaxKind.AttributeList, xWithArg.Kind()); 4407Assert.Equal(SyntaxKind.AttributeList, attrX.Kind()); 4419Assert.Equal(SyntaxKind.AttributeList, attrP.Kind()); 4426Assert.Equal(SyntaxKind.AttributeList, attrA.Kind());
Microsoft.Extensions.Logging.Generators (1)
src\libraries\Common\src\Roslyn\SyntaxValueProvider_ForAttributeWithSimpleName.cs (1)
438if (node.IsKind(SyntaxKind.AttributeList))