192 references to TypeParameterList
Microsoft.CodeAnalysis.CSharp (5)
Syntax.xml.Internal.Generated.cs (4)
31616
var cached = CSharpSyntaxNodeCache.TryGetNode((int)SyntaxKind.
TypeParameterList
, lessThanToken, parameters.Node, greaterThanToken, this.context, out hash);
31619
var result = new TypeParameterListSyntax(SyntaxKind.
TypeParameterList
, lessThanToken, parameters.Node, greaterThanToken, this.context);
36983
var cached = SyntaxNodeCache.TryGetNode((int)SyntaxKind.
TypeParameterList
, lessThanToken, parameters.Node, greaterThanToken, out hash);
36986
var result = new TypeParameterListSyntax(SyntaxKind.
TypeParameterList
, lessThanToken, parameters.Node, greaterThanToken);
Syntax.xml.Syntax.Generated.cs (1)
10110
/// <item><description><see cref="SyntaxKind.
TypeParameterList
"/></description></item>
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
324
return token.Parent is (kind: SyntaxKind.
TypeParameterList
or SyntaxKind.TypeArgumentList);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (1)
73
if (previousParentKind == SyntaxKind.
TypeParameterList
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (2)
471
if (previousToken.Parent is (kind: SyntaxKind.TypeArgumentList or SyntaxKind.
TypeParameterList
or SyntaxKind.FunctionPointerType))
488
currentToken.Parent is (kind: SyntaxKind.TypeArgumentList or SyntaxKind.
TypeParameterList
))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (1)
615
if (node.IsKind(SyntaxKind.
TypeParameterList
))
Microsoft.CodeAnalysis.CSharp.Features (5)
Completion\CompletionProviders\DeclarationName\DeclarationNameInfo.cs (1)
497
token.Parent.IsKind(SyntaxKind.
TypeParameterList
))
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (2)
1729
case SyntaxKind.
TypeParameterList
:
2118
case SyntaxKind.
TypeParameterList
:
EditAndContinue\SyntaxComparer.cs (2)
263
case SyntaxKind.
TypeParameterList
:
1499
case SyntaxKind.
TypeParameterList
:
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (165)
Parsing\AllowsConstraintParsing.cs (32)
37
N(SyntaxKind.
TypeParameterList
);
90
N(SyntaxKind.
TypeParameterList
);
146
N(SyntaxKind.
TypeParameterList
);
195
N(SyntaxKind.
TypeParameterList
);
249
N(SyntaxKind.
TypeParameterList
);
308
N(SyntaxKind.
TypeParameterList
);
375
N(SyntaxKind.
TypeParameterList
);
432
N(SyntaxKind.
TypeParameterList
);
487
N(SyntaxKind.
TypeParameterList
);
545
N(SyntaxKind.
TypeParameterList
);
600
N(SyntaxKind.
TypeParameterList
);
663
N(SyntaxKind.
TypeParameterList
);
716
N(SyntaxKind.
TypeParameterList
);
774
N(SyntaxKind.
TypeParameterList
);
845
N(SyntaxKind.
TypeParameterList
);
917
N(SyntaxKind.
TypeParameterList
);
984
N(SyntaxKind.
TypeParameterList
);
1056
N(SyntaxKind.
TypeParameterList
);
1114
N(SyntaxKind.
TypeParameterList
);
1168
N(SyntaxKind.
TypeParameterList
);
1222
N(SyntaxKind.
TypeParameterList
);
1276
N(SyntaxKind.
TypeParameterList
);
1333
N(SyntaxKind.
TypeParameterList
);
1390
N(SyntaxKind.
TypeParameterList
);
1447
N(SyntaxKind.
TypeParameterList
);
1503
N(SyntaxKind.
TypeParameterList
);
1572
N(SyntaxKind.
TypeParameterList
);
1626
N(SyntaxKind.
TypeParameterList
);
1680
N(SyntaxKind.
TypeParameterList
);
1737
N(SyntaxKind.
TypeParameterList
);
1794
N(SyntaxKind.
TypeParameterList
);
1851
N(SyntaxKind.
TypeParameterList
);
Parsing\CollectionExpressionParsingTests.cs (2)
12695
N(SyntaxKind.
TypeParameterList
);
12792
N(SyntaxKind.
TypeParameterList
);
Parsing\DeclarationParsingTests.cs (43)
6687
N(SyntaxKind.
TypeParameterList
);
6736
N(SyntaxKind.
TypeParameterList
);
6796
N(SyntaxKind.
TypeParameterList
);
6861
N(SyntaxKind.
TypeParameterList
);
7046
N(SyntaxKind.
TypeParameterList
);
7089
N(SyntaxKind.
TypeParameterList
);
7132
N(SyntaxKind.
TypeParameterList
);
7180
N(SyntaxKind.
TypeParameterList
);
7224
N(SyntaxKind.
TypeParameterList
);
7272
N(SyntaxKind.
TypeParameterList
);
8517
N(SyntaxKind.
TypeParameterList
);
8869
N(SyntaxKind.
TypeParameterList
);
8913
N(SyntaxKind.
TypeParameterList
);
9014
N(SyntaxKind.
TypeParameterList
);
9086
N(SyntaxKind.
TypeParameterList
);
9407
N(SyntaxKind.
TypeParameterList
);
9464
N(SyntaxKind.
TypeParameterList
);
9501
N(SyntaxKind.
TypeParameterList
);
9740
N(SyntaxKind.
TypeParameterList
);
9873
N(SyntaxKind.
TypeParameterList
);
9913
N(SyntaxKind.
TypeParameterList
);
10238
N(SyntaxKind.
TypeParameterList
);
10292
N(SyntaxKind.
TypeParameterList
);
10360
N(SyntaxKind.
TypeParameterList
);
10425
N(SyntaxKind.
TypeParameterList
);
10477
N(SyntaxKind.
TypeParameterList
);
10526
N(SyntaxKind.
TypeParameterList
);
10578
N(SyntaxKind.
TypeParameterList
);
12995
N(SyntaxKind.
TypeParameterList
);
13046
N(SyntaxKind.
TypeParameterList
);
13099
N(SyntaxKind.
TypeParameterList
);
13148
N(SyntaxKind.
TypeParameterList
);
13194
N(SyntaxKind.
TypeParameterList
);
13245
N(SyntaxKind.
TypeParameterList
);
13303
N(SyntaxKind.
TypeParameterList
);
13354
N(SyntaxKind.
TypeParameterList
);
13411
N(SyntaxKind.
TypeParameterList
);
13467
N(SyntaxKind.
TypeParameterList
);
13574
N(SyntaxKind.
TypeParameterList
);
13656
N(SyntaxKind.
TypeParameterList
);
13712
N(SyntaxKind.
TypeParameterList
);
13771
N(SyntaxKind.
TypeParameterList
);
13824
N(SyntaxKind.
TypeParameterList
);
Parsing\DeclarationParsingTests_MissingIdentifiers.cs (20)
443
N(SyntaxKind.
TypeParameterList
);
664
N(SyntaxKind.
TypeParameterList
);
954
N(SyntaxKind.
TypeParameterList
);
1037
N(SyntaxKind.
TypeParameterList
);
1165
N(SyntaxKind.
TypeParameterList
);
1674
N(SyntaxKind.
TypeParameterList
);
2375
N(SyntaxKind.
TypeParameterList
);
2599
N(SyntaxKind.
TypeParameterList
);
2716
N(SyntaxKind.
TypeParameterList
);
2832
N(SyntaxKind.
TypeParameterList
);
3052
N(SyntaxKind.
TypeParameterList
);
3369
N(SyntaxKind.
TypeParameterList
);
3452
N(SyntaxKind.
TypeParameterList
);
3488
N(SyntaxKind.
TypeParameterList
);
3526
N(SyntaxKind.
TypeParameterList
);
3708
N(SyntaxKind.
TypeParameterList
);
4012
N(SyntaxKind.
TypeParameterList
);
4095
N(SyntaxKind.
TypeParameterList
);
4131
N(SyntaxKind.
TypeParameterList
);
4169
N(SyntaxKind.
TypeParameterList
);
Parsing\ExpressionParsingTests.cs (1)
3698
N(SyntaxKind.
TypeParameterList
);
Parsing\ExtensionsParsingTests.cs (14)
46
N(SyntaxKind.
TypeParameterList
);
102
N(SyntaxKind.
TypeParameterList
);
415
N(SyntaxKind.
TypeParameterList
);
450
N(SyntaxKind.
TypeParameterList
);
611
N(SyntaxKind.
TypeParameterList
);
701
N(SyntaxKind.
TypeParameterList
);
837
N(SyntaxKind.
TypeParameterList
);
4032
N(SyntaxKind.
TypeParameterList
);
4150
N(SyntaxKind.
TypeParameterList
);
4279
N(SyntaxKind.
TypeParameterList
);
4354
N(SyntaxKind.
TypeParameterList
);
4432
N(SyntaxKind.
TypeParameterList
);
4503
N(SyntaxKind.
TypeParameterList
);
4592
N(SyntaxKind.
TypeParameterList
);
Parsing\LocalFunctionParsingTests.cs (2)
175
N(SyntaxKind.
TypeParameterList
);
220
N(SyntaxKind.
TypeParameterList
);
Parsing\MemberDeclarationParsingTests.cs (24)
9191
N(SyntaxKind.
TypeParameterList
);
9251
N(SyntaxKind.
TypeParameterList
);
9313
N(SyntaxKind.
TypeParameterList
);
9398
N(SyntaxKind.
TypeParameterList
);
9461
N(SyntaxKind.
TypeParameterList
);
9511
N(SyntaxKind.
TypeParameterList
);
9566
N(SyntaxKind.
TypeParameterList
);
9628
N(SyntaxKind.
TypeParameterList
);
14236
N(SyntaxKind.
TypeParameterList
);
15499
N(SyntaxKind.
TypeParameterList
);
15578
N(SyntaxKind.
TypeParameterList
);
16522
N(SyntaxKind.
TypeParameterList
);
16656
N(SyntaxKind.
TypeParameterList
);
17472
N(SyntaxKind.
TypeParameterList
);
17569
N(SyntaxKind.
TypeParameterList
);
17677
N(SyntaxKind.
TypeParameterList
);
17830
N(SyntaxKind.
TypeParameterList
);
18003
N(SyntaxKind.
TypeParameterList
);
18115
N(SyntaxKind.
TypeParameterList
);
18238
N(SyntaxKind.
TypeParameterList
);
18419
N(SyntaxKind.
TypeParameterList
);
19614
N(SyntaxKind.
TypeParameterList
);
20046
N(SyntaxKind.
TypeParameterList
);
20118
N(SyntaxKind.
TypeParameterList
);
Parsing\NameParsingTests.cs (10)
849
N(SyntaxKind.
TypeParameterList
);
947
N(SyntaxKind.
TypeParameterList
);
1045
N(SyntaxKind.
TypeParameterList
);
1069
N(SyntaxKind.
TypeParameterList
);
1170
N(SyntaxKind.
TypeParameterList
);
1194
N(SyntaxKind.
TypeParameterList
);
1299
N(SyntaxKind.
TypeParameterList
);
1315
N(SyntaxKind.
TypeParameterList
);
1344
N(SyntaxKind.
TypeParameterList
);
1538
N(SyntaxKind.
TypeParameterList
);
Parsing\RecordParsing.cs (14)
462
N(SyntaxKind.
TypeParameterList
);
506
N(SyntaxKind.
TypeParameterList
);
546
N(SyntaxKind.
TypeParameterList
);
605
N(SyntaxKind.
TypeParameterList
);
645
N(SyntaxKind.
TypeParameterList
);
713
N(SyntaxKind.
TypeParameterList
);
789
N(SyntaxKind.
TypeParameterList
);
859
N(SyntaxKind.
TypeParameterList
);
919
N(SyntaxKind.
TypeParameterList
);
964
N(SyntaxKind.
TypeParameterList
);
1012
N(SyntaxKind.
TypeParameterList
);
1067
N(SyntaxKind.
TypeParameterList
);
1141
N(SyntaxKind.
TypeParameterList
);
4187
N(SyntaxKind.
TypeParameterList
);
Parsing\ScriptParsingTests.cs (2)
4001
N(SyntaxKind.
TypeParameterList
);
9135
N(SyntaxKind.
TypeParameterList
);
Parsing\SeparatedSyntaxListParsingTests.cs (1)
634
N(SyntaxKind.
TypeParameterList
);
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
Classification\ClassificationHelpers.cs (1)
364
if (token.Parent.Kind() is SyntaxKind.
TypeParameterList
or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
324
return token.Parent is (kind: SyntaxKind.
TypeParameterList
or SyntaxKind.TypeArgumentList);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (1)
73
if (previousParentKind == SyntaxKind.
TypeParameterList
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (2)
471
if (previousToken.Parent is (kind: SyntaxKind.TypeArgumentList or SyntaxKind.
TypeParameterList
or SyntaxKind.FunctionPointerType))
488
currentToken.Parent is (kind: SyntaxKind.TypeArgumentList or SyntaxKind.
TypeParameterList
))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (1)
615
if (node.IsKind(SyntaxKind.
TypeParameterList
))
Microsoft.VisualStudio.LanguageServices.CSharp (1)
LanguageService\CSharpHelpContextService.cs (1)
330
token.Parent is (kind: SyntaxKind.
TypeParameterList
or SyntaxKind.TypeArgumentList))
Roslyn.Diagnostics.CSharp.Analyzers (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
324
return token.Parent is (kind: SyntaxKind.
TypeParameterList
or SyntaxKind.TypeArgumentList);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (1)
73
if (previousParentKind == SyntaxKind.
TypeParameterList
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (2)
471
if (previousToken.Parent is (kind: SyntaxKind.TypeArgumentList or SyntaxKind.
TypeParameterList
or SyntaxKind.FunctionPointerType))
488
currentToken.Parent is (kind: SyntaxKind.TypeArgumentList or SyntaxKind.
TypeParameterList
))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (1)
615
if (node.IsKind(SyntaxKind.
TypeParameterList
))