338 references to AttributeList
Microsoft.CodeAnalysis.CSharp (1)
Parser\LanguageParser.cs (1)
1113
this.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)
249
if (previousKind == SyntaxKind.CloseBracketToken && previousToken.Parent.IsKind(SyntaxKind.
AttributeList
))
253
currentToken.Parent.IsKind(SyntaxKind.
AttributeList
))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (2)
292
previousToken.Parent.IsKind(SyntaxKind.
AttributeList
) &&
379
currentToken.Parent?.Kind() is not SyntaxKind.CollectionExpression and not SyntaxKind.
AttributeList
&&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
277
case SyntaxKind.
AttributeList
:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (13)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (4)
312
token.Parent.IsKind(SyntaxKind.
AttributeList
) &&
352
token.Parent.IsKind(SyntaxKind.
AttributeList
))
376
token.Parent.IsKind(SyntaxKind.
AttributeList
) &&
392
token.Parent.IsKind(SyntaxKind.
AttributeList
) &&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (4)
177
if (token.Parent.IsKind(SyntaxKind.
AttributeList
))
259
if (token.Parent.IsKind(SyntaxKind.
AttributeList
))
605
targetToken.Parent.IsKind(SyntaxKind.
AttributeList
) &&
650
targetToken.Parent.IsKind(SyntaxKind.
AttributeList
) &&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (5)
36
token.Parent.IsKind(SyntaxKind.
AttributeList
))
44
token.Parent.IsKind(SyntaxKind.
AttributeList
))
220
token.Parent.IsKind(SyntaxKind.
AttributeList
))
507
token.Parent.IsKind(SyntaxKind.
AttributeList
))
1097
token.Parent.IsKind(SyntaxKind.
AttributeList
) &&
Microsoft.CodeAnalysis.CSharp.Features (13)
Completion\KeywordRecommenders\AssemblyKeywordRecommender.cs (1)
24
token.GetRequiredParent().Kind() == SyntaxKind.
AttributeList
)
Completion\KeywordRecommenders\NamespaceKeywordRecommender.cs (1)
155
token.Parent.IsKind(SyntaxKind.
AttributeList
) &&
Completion\KeywordRecommenders\ParamKeywordRecommender.cs (1)
29
token.Parent.IsKind(SyntaxKind.
AttributeList
))
Completion\KeywordRecommenders\TypeVarKeywordRecommender.cs (1)
24
token.Parent.IsKind(SyntaxKind.
AttributeList
))
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (4)
1745
case SyntaxKind.
AttributeList
:
2125
case SyntaxKind.
AttributeList
:
2404
case SyntaxKind.
AttributeList
:
2429
case SyntaxKind.
AttributeList
:
EditAndContinue\SyntaxComparer.cs (3)
666
case SyntaxKind.
AttributeList
:
912
case SyntaxKind.
AttributeList
:
1495
case SyntaxKind.
AttributeList
:
src\Analyzers\CSharp\Analyzers\RemoveUnnecessarySuppressions\CSharpRemoveUnnecessaryAttributeSuppressionsDiagnosticAnalyzer.cs (1)
30
}, SyntaxKind.
AttributeList
);
Structure\CSharpStructureHelpers.cs (1)
377
if (child.Kind() != SyntaxKind.
AttributeList
)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (272)
IncrementalParsing\IncrementalParsingTests.cs (1)
795
N(SyntaxKind.
AttributeList
);
Parsing\AnonymousFunctionParsingTests.cs (2)
2303
N(SyntaxKind.
AttributeList
);
2383
N(SyntaxKind.
AttributeList
);
Parsing\CollectionExpressionParsingTests.cs (61)
325
N(SyntaxKind.
AttributeList
);
452
N(SyntaxKind.
AttributeList
);
585
N(SyntaxKind.
AttributeList
);
12007
N(SyntaxKind.
AttributeList
);
12079
N(SyntaxKind.
AttributeList
);
12425
N(SyntaxKind.
AttributeList
);
12492
N(SyntaxKind.
AttributeList
);
12559
N(SyntaxKind.
AttributeList
);
12642
N(SyntaxKind.
AttributeList
);
12739
N(SyntaxKind.
AttributeList
);
12797
N(SyntaxKind.
AttributeList
);
12814
N(SyntaxKind.
AttributeList
);
12877
N(SyntaxKind.
AttributeList
);
13074
N(SyntaxKind.
AttributeList
);
13086
N(SyntaxKind.
AttributeList
);
13223
N(SyntaxKind.
AttributeList
);
13235
N(SyntaxKind.
AttributeList
);
13388
N(SyntaxKind.
AttributeList
);
13400
N(SyntaxKind.
AttributeList
);
13441
N(SyntaxKind.
AttributeList
);
13566
N(SyntaxKind.
AttributeList
);
13578
N(SyntaxKind.
AttributeList
);
13760
N(SyntaxKind.
AttributeList
);
13772
N(SyntaxKind.
AttributeList
);
15588
N(SyntaxKind.
AttributeList
);
15655
N(SyntaxKind.
AttributeList
);
15742
N(SyntaxKind.
AttributeList
);
15754
N(SyntaxKind.
AttributeList
);
15821
N(SyntaxKind.
AttributeList
);
15833
N(SyntaxKind.
AttributeList
);
15920
N(SyntaxKind.
AttributeList
);
15932
N(SyntaxKind.
AttributeList
);
16003
N(SyntaxKind.
AttributeList
);
16015
N(SyntaxKind.
AttributeList
);
16106
N(SyntaxKind.
AttributeList
);
16118
N(SyntaxKind.
AttributeList
);
16197
N(SyntaxKind.
AttributeList
);
16209
N(SyntaxKind.
AttributeList
);
16308
N(SyntaxKind.
AttributeList
);
16320
N(SyntaxKind.
AttributeList
);
16404
N(SyntaxKind.
AttributeList
);
16416
N(SyntaxKind.
AttributeList
);
16520
N(SyntaxKind.
AttributeList
);
16532
N(SyntaxKind.
AttributeList
);
16603
N(SyntaxKind.
AttributeList
);
16615
N(SyntaxKind.
AttributeList
);
16706
N(SyntaxKind.
AttributeList
);
16718
N(SyntaxKind.
AttributeList
);
16787
N(SyntaxKind.
AttributeList
);
16799
N(SyntaxKind.
AttributeList
);
16994
N(SyntaxKind.
AttributeList
);
17191
N(SyntaxKind.
AttributeList
);
17268
N(SyntaxKind.
AttributeList
);
17424
N(SyntaxKind.
AttributeList
);
17509
N(SyntaxKind.
AttributeList
);
17673
N(SyntaxKind.
AttributeList
);
17755
N(SyntaxKind.
AttributeList
);
17916
N(SyntaxKind.
AttributeList
);
18006
N(SyntaxKind.
AttributeList
);
18542
N(SyntaxKind.
AttributeList
);
18568
N(SyntaxKind.
AttributeList
);
Parsing\DeclarationParsingTests.cs (12)
265
Assert.Equal(SyntaxKind.
AttributeList
, file.AttributeLists[0].Kind());
291
Assert.Equal(SyntaxKind.
AttributeList
, file.AttributeLists[0].Kind());
320
Assert.Equal(SyntaxKind.
AttributeList
, file.AttributeLists[0].Kind());
349
Assert.Equal(SyntaxKind.
AttributeList
, file.AttributeLists[0].Kind());
376
Assert.Equal(SyntaxKind.
AttributeList
, file.AttributeLists[0].Kind());
404
Assert.Equal(SyntaxKind.
AttributeList
, file.AttributeLists[0].Kind());
434
Assert.Equal(SyntaxKind.
AttributeList
, file.AttributeLists[0].Kind());
465
Assert.Equal(SyntaxKind.
AttributeList
, file.AttributeLists[0].Kind());
501
Assert.Equal(SyntaxKind.
AttributeList
, file.AttributeLists[0].Kind());
533
Assert.Equal(SyntaxKind.
AttributeList
, file.AttributeLists[0].Kind());
7598
N(SyntaxKind.
AttributeList
);
7660
N(SyntaxKind.
AttributeList
);
Parsing\DeclarationScopeParsingTests.cs (4)
1219
N(SyntaxKind.
AttributeList
);
1241
N(SyntaxKind.
AttributeList
);
11540
N(SyntaxKind.
AttributeList
);
11566
N(SyntaxKind.
AttributeList
);
Parsing\ExpressionParsingTests.cs (1)
6282
N(SyntaxKind.
AttributeList
);
Parsing\LambdaAttributeParsingTests.cs (65)
46
N(SyntaxKind.
AttributeList
);
86
N(SyntaxKind.
AttributeList
);
136
N(SyntaxKind.
AttributeList
);
148
N(SyntaxKind.
AttributeList
);
202
N(SyntaxKind.
AttributeList
);
240
N(SyntaxKind.
AttributeList
);
324
N(SyntaxKind.
AttributeList
);
357
N(SyntaxKind.
AttributeList
);
392
N(SyntaxKind.
AttributeList
);
431
N(SyntaxKind.
AttributeList
);
474
N(SyntaxKind.
AttributeList
);
517
N(SyntaxKind.
AttributeList
);
556
N(SyntaxKind.
AttributeList
);
568
N(SyntaxKind.
AttributeList
);
599
N(SyntaxKind.
AttributeList
);
642
N(SyntaxKind.
AttributeList
);
682
N(SyntaxKind.
AttributeList
);
720
N(SyntaxKind.
AttributeList
);
760
N(SyntaxKind.
AttributeList
);
803
N(SyntaxKind.
AttributeList
);
846
N(SyntaxKind.
AttributeList
);
1009
N(SyntaxKind.
AttributeList
);
1114
N(SyntaxKind.
AttributeList
);
1153
N(SyntaxKind.
AttributeList
);
1307
N(SyntaxKind.
AttributeList
);
1391
N(SyntaxKind.
AttributeList
);
1431
N(SyntaxKind.
AttributeList
);
1479
N(SyntaxKind.
AttributeList
);
1566
N(SyntaxKind.
AttributeList
);
1612
N(SyntaxKind.
AttributeList
);
1659
N(SyntaxKind.
AttributeList
);
1715
N(SyntaxKind.
AttributeList
);
1750
N(SyntaxKind.
AttributeList
);
1791
N(SyntaxKind.
AttributeList
);
1849
N(SyntaxKind.
AttributeList
);
1897
N(SyntaxKind.
AttributeList
);
2276
N(SyntaxKind.
AttributeList
);
2338
N(SyntaxKind.
AttributeList
);
2400
N(SyntaxKind.
AttributeList
);
2470
N(SyntaxKind.
AttributeList
);
2654
N(SyntaxKind.
AttributeList
);
2813
N(SyntaxKind.
AttributeList
);
2846
N(SyntaxKind.
AttributeList
);
2892
N(SyntaxKind.
AttributeList
);
2920
N(SyntaxKind.
AttributeList
);
3022
N(SyntaxKind.
AttributeList
);
3047
N(SyntaxKind.
AttributeList
);
3093
N(SyntaxKind.
AttributeList
);
3118
N(SyntaxKind.
AttributeList
);
3166
N(SyntaxKind.
AttributeList
);
3191
N(SyntaxKind.
AttributeList
);
3231
N(SyntaxKind.
AttributeList
);
3277
N(SyntaxKind.
AttributeList
);
3325
N(SyntaxKind.
AttributeList
);
3393
N(SyntaxKind.
AttributeList
);
3432
N(SyntaxKind.
AttributeList
);
3469
N(SyntaxKind.
AttributeList
);
3516
N(SyntaxKind.
AttributeList
);
3718
N(SyntaxKind.
AttributeList
);
3840
N(SyntaxKind.
AttributeList
);
3969
N(SyntaxKind.
AttributeList
);
4066
N(SyntaxKind.
AttributeList
);
4183
N(SyntaxKind.
AttributeList
);
4220
N(SyntaxKind.
AttributeList
);
4355
N(SyntaxKind.
AttributeList
);
Parsing\LambdaParameterParsingTests.cs (8)
3399
N(SyntaxKind.
AttributeList
);
3480
N(SyntaxKind.
AttributeList
);
5794
N(SyntaxKind.
AttributeList
);
6321
N(SyntaxKind.
AttributeList
);
6366
N(SyntaxKind.
AttributeList
);
6548
N(SyntaxKind.
AttributeList
);
6631
N(SyntaxKind.
AttributeList
);
6670
N(SyntaxKind.
AttributeList
);
Parsing\LambdaReturnTypeParsingTests.cs (10)
1804
N(SyntaxKind.
AttributeList
);
1849
N(SyntaxKind.
AttributeList
);
5456
N(SyntaxKind.
AttributeList
);
5499
N(SyntaxKind.
AttributeList
);
5511
N(SyntaxKind.
AttributeList
);
5550
N(SyntaxKind.
AttributeList
);
5605
N(SyntaxKind.
AttributeList
);
5663
N(SyntaxKind.
AttributeList
);
5716
N(SyntaxKind.
AttributeList
);
5782
N(SyntaxKind.
AttributeList
);
Parsing\LocalFunctionParsingTests.cs (8)
398
N(SyntaxKind.
AttributeList
);
428
N(SyntaxKind.
AttributeList
);
463
N(SyntaxKind.
AttributeList
);
497
N(SyntaxKind.
AttributeList
);
509
N(SyntaxKind.
AttributeList
);
942
N(SyntaxKind.
AttributeList
);
1022
N(SyntaxKind.
AttributeList
);
1116
N(SyntaxKind.
AttributeList
);
Parsing\ParserErrorMessageTests.cs (1)
5716
N(SyntaxKind.
AttributeList
);
Parsing\ScriptParsingTests.cs (11)
2290
N(SyntaxKind.
AttributeList
);
2307
N(SyntaxKind.
AttributeList
);
2326
N(SyntaxKind.
AttributeList
);
2356
N(SyntaxKind.
AttributeList
);
2383
N(SyntaxKind.
AttributeList
);
2402
N(SyntaxKind.
AttributeList
);
2421
N(SyntaxKind.
AttributeList
);
2440
N(SyntaxKind.
AttributeList
);
3544
N(SyntaxKind.
AttributeList
);
3602
N(SyntaxKind.
AttributeList
);
3970
N(SyntaxKind.
AttributeList
);
Parsing\SingleLineDeclarationParsingTests.cs (1)
797
N(SyntaxKind.
AttributeList
);
Parsing\StatementAttributeParsingTests.cs (80)
55
N(SyntaxKind.
AttributeList
);
121
N(SyntaxKind.
AttributeList
);
188
N(SyntaxKind.
AttributeList
);
276
N(SyntaxKind.
AttributeList
);
383
N(SyntaxKind.
AttributeList
);
468
N(SyntaxKind.
AttributeList
);
537
N(SyntaxKind.
AttributeList
);
603
N(SyntaxKind.
AttributeList
);
672
N(SyntaxKind.
AttributeList
);
746
N(SyntaxKind.
AttributeList
);
823
N(SyntaxKind.
AttributeList
);
898
N(SyntaxKind.
AttributeList
);
973
N(SyntaxKind.
AttributeList
);
1051
N(SyntaxKind.
AttributeList
);
1145
N(SyntaxKind.
AttributeList
);
1263
N(SyntaxKind.
AttributeList
);
1361
N(SyntaxKind.
AttributeList
);
1437
N(SyntaxKind.
AttributeList
);
1524
N(SyntaxKind.
AttributeList
);
1628
N(SyntaxKind.
AttributeList
);
1726
N(SyntaxKind.
AttributeList
);
1799
N(SyntaxKind.
AttributeList
);
1866
N(SyntaxKind.
AttributeList
);
1936
N(SyntaxKind.
AttributeList
);
2118
N(SyntaxKind.
AttributeList
);
2194
N(SyntaxKind.
AttributeList
);
2270
N(SyntaxKind.
AttributeList
);
2367
N(SyntaxKind.
AttributeList
);
2459
N(SyntaxKind.
AttributeList
);
2587
N(SyntaxKind.
AttributeList
);
2679
N(SyntaxKind.
AttributeList
);
2761
N(SyntaxKind.
AttributeList
);
2861
N(SyntaxKind.
AttributeList
);
2957
N(SyntaxKind.
AttributeList
);
3049
N(SyntaxKind.
AttributeList
);
3145
N(SyntaxKind.
AttributeList
);
3222
N(SyntaxKind.
AttributeList
);
3292
N(SyntaxKind.
AttributeList
);
3375
N(SyntaxKind.
AttributeList
);
3455
N(SyntaxKind.
AttributeList
);
3537
N(SyntaxKind.
AttributeList
);
3619
N(SyntaxKind.
AttributeList
);
3709
N(SyntaxKind.
AttributeList
);
3790
N(SyntaxKind.
AttributeList
);
3864
N(SyntaxKind.
AttributeList
);
3957
N(SyntaxKind.
AttributeList
);
4048
N(SyntaxKind.
AttributeList
);
4133
N(SyntaxKind.
AttributeList
);
4210
N(SyntaxKind.
AttributeList
);
4293
N(SyntaxKind.
AttributeList
);
4377
N(SyntaxKind.
AttributeList
);
4465
N(SyntaxKind.
AttributeList
);
4554
N(SyntaxKind.
AttributeList
);
4643
N(SyntaxKind.
AttributeList
);
4721
N(SyntaxKind.
AttributeList
);
4804
N(SyntaxKind.
AttributeList
);
4899
N(SyntaxKind.
AttributeList
);
4990
N(SyntaxKind.
AttributeList
);
5067
N(SyntaxKind.
AttributeList
);
5147
N(SyntaxKind.
AttributeList
);
5227
N(SyntaxKind.
AttributeList
);
5305
N(SyntaxKind.
AttributeList
);
5391
N(SyntaxKind.
AttributeList
);
5476
N(SyntaxKind.
AttributeList
);
5670
N(SyntaxKind.
AttributeList
);
5779
N(SyntaxKind.
AttributeList
);
5885
N(SyntaxKind.
AttributeList
);
6155
N(SyntaxKind.
AttributeList
);
6241
N(SyntaxKind.
AttributeList
);
6325
N(SyntaxKind.
AttributeList
);
6403
N(SyntaxKind.
AttributeList
);
6482
N(SyntaxKind.
AttributeList
);
6569
N(SyntaxKind.
AttributeList
);
6674
N(SyntaxKind.
AttributeList
);
6813
N(SyntaxKind.
AttributeList
);
7076
N(SyntaxKind.
AttributeList
);
7183
N(SyntaxKind.
AttributeList
);
7284
N(SyntaxKind.
AttributeList
);
7393
N(SyntaxKind.
AttributeList
);
7474
N(SyntaxKind.
AttributeList
);
Parsing\TopLevelStatementsParsingTests.cs (5)
193
N(SyntaxKind.
AttributeList
);
214
N(SyntaxKind.
AttributeList
);
1766
N(SyntaxKind.
AttributeList
);
2458
N(SyntaxKind.
AttributeList
);
2634
N(SyntaxKind.
AttributeList
);
Parsing\UsingDirectiveParsingTests.cs (2)
3680
N(SyntaxKind.
AttributeList
);
3842
N(SyntaxKind.
AttributeList
);
Microsoft.CodeAnalysis.CSharp.Workspaces (25)
CodeGeneration\CSharpSyntaxGenerator.cs (7)
1111
case SyntaxKind.
AttributeList
:
1159
case SyntaxKind.
AttributeList
:
1179
case SyntaxKind.
AttributeList
:
1288
case SyntaxKind.
AttributeList
:
1329
SyntaxKind.
AttributeList
=> ((AttributeListSyntax)declaration).Attributes.Count,
2799
case SyntaxKind.
AttributeList
:
2945
SyntaxKind.
AttributeList
=> ((AttributeListSyntax)declaration).Attributes,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (2)
249
if (previousKind == SyntaxKind.CloseBracketToken && previousToken.Parent.IsKind(SyntaxKind.
AttributeList
))
253
currentToken.Parent.IsKind(SyntaxKind.
AttributeList
))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (2)
292
previousToken.Parent.IsKind(SyntaxKind.
AttributeList
) &&
379
currentToken.Parent?.Kind() is not SyntaxKind.CollectionExpression and not SyntaxKind.
AttributeList
&&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
277
case SyntaxKind.
AttributeList
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (4)
312
token.Parent.IsKind(SyntaxKind.
AttributeList
) &&
352
token.Parent.IsKind(SyntaxKind.
AttributeList
))
376
token.Parent.IsKind(SyntaxKind.
AttributeList
) &&
392
token.Parent.IsKind(SyntaxKind.
AttributeList
) &&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (4)
177
if (token.Parent.IsKind(SyntaxKind.
AttributeList
))
259
if (token.Parent.IsKind(SyntaxKind.
AttributeList
))
605
targetToken.Parent.IsKind(SyntaxKind.
AttributeList
) &&
650
targetToken.Parent.IsKind(SyntaxKind.
AttributeList
) &&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (5)
36
token.Parent.IsKind(SyntaxKind.
AttributeList
))
44
token.Parent.IsKind(SyntaxKind.
AttributeList
))
220
token.Parent.IsKind(SyntaxKind.
AttributeList
))
507
token.Parent.IsKind(SyntaxKind.
AttributeList
))
1097
token.Parent.IsKind(SyntaxKind.
AttributeList
) &&
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (7)
CodeGeneration\SyntaxGeneratorTests.cs (7)
4144
Assert.Equal(SyntaxKind.
AttributeList
, xNamedQ.Kind());
4149
Assert.Equal(SyntaxKind.
AttributeList
, xWithArg.Kind());
4324
Assert.Equal(SyntaxKind.
AttributeList
, xNamedQ.Kind());
4329
Assert.Equal(SyntaxKind.
AttributeList
, xWithArg.Kind());
4407
Assert.Equal(SyntaxKind.
AttributeList
, attrX.Kind());
4419
Assert.Equal(SyntaxKind.
AttributeList
, attrP.Kind());
4426
Assert.Equal(SyntaxKind.
AttributeList
, attrA.Kind());
Microsoft.Extensions.Logging.Generators (1)
src\libraries\Common\src\Roslyn\SyntaxValueProvider_ForAttributeWithSimpleName.cs (1)
438
if (node.IsKind(SyntaxKind.
AttributeList
))