170 references to TypeParameter
Microsoft.CodeAnalysis.CSharp (2)
Compilation\CSharpSemanticModel.cs (1)
5121
case SyntaxKind.
TypeParameter
:
Symbols\Source\TypeParameterBuilder.cs (1)
29
Debug.Assert(syntaxRef.GetSyntax().IsKind(SyntaxKind.
TypeParameter
));
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\NamingStyle\CSharpNamingStyleDiagnosticAnalyzer.cs (1)
25
SyntaxKind.
TypeParameter
,
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (1)
651
targetToken.Parent.Parent.IsKind(SyntaxKind.
TypeParameter
) &&
Microsoft.CodeAnalysis.CSharp.Features (4)
EditAndContinue\SyntaxComparer.cs (3)
267
case SyntaxKind.
TypeParameter
:
904
case SyntaxKind.
TypeParameter
:
1484
case SyntaxKind.
TypeParameter
:
src\Analyzers\CSharp\Analyzers\NamingStyle\CSharpNamingStyleDiagnosticAnalyzer.cs (1)
25
SyntaxKind.
TypeParameter
,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (160)
Parsing\AllowsConstraintParsing.cs (36)
40
N(SyntaxKind.
TypeParameter
);
93
N(SyntaxKind.
TypeParameter
);
149
N(SyntaxKind.
TypeParameter
);
198
N(SyntaxKind.
TypeParameter
);
252
N(SyntaxKind.
TypeParameter
);
311
N(SyntaxKind.
TypeParameter
);
378
N(SyntaxKind.
TypeParameter
);
435
N(SyntaxKind.
TypeParameter
);
490
N(SyntaxKind.
TypeParameter
);
548
N(SyntaxKind.
TypeParameter
);
603
N(SyntaxKind.
TypeParameter
);
666
N(SyntaxKind.
TypeParameter
);
719
N(SyntaxKind.
TypeParameter
);
777
N(SyntaxKind.
TypeParameter
);
782
N(SyntaxKind.
TypeParameter
);
848
N(SyntaxKind.
TypeParameter
);
853
N(SyntaxKind.
TypeParameter
);
920
N(SyntaxKind.
TypeParameter
);
925
N(SyntaxKind.
TypeParameter
);
987
N(SyntaxKind.
TypeParameter
);
992
N(SyntaxKind.
TypeParameter
);
1059
N(SyntaxKind.
TypeParameter
);
1117
N(SyntaxKind.
TypeParameter
);
1171
N(SyntaxKind.
TypeParameter
);
1225
N(SyntaxKind.
TypeParameter
);
1279
N(SyntaxKind.
TypeParameter
);
1336
N(SyntaxKind.
TypeParameter
);
1393
N(SyntaxKind.
TypeParameter
);
1450
N(SyntaxKind.
TypeParameter
);
1506
N(SyntaxKind.
TypeParameter
);
1575
N(SyntaxKind.
TypeParameter
);
1629
N(SyntaxKind.
TypeParameter
);
1683
N(SyntaxKind.
TypeParameter
);
1740
N(SyntaxKind.
TypeParameter
);
1797
N(SyntaxKind.
TypeParameter
);
1854
N(SyntaxKind.
TypeParameter
);
Parsing\CollectionExpressionParsingTests.cs (4)
12698
N(SyntaxKind.
TypeParameter
);
12703
N(SyntaxKind.
TypeParameter
);
12795
N(SyntaxKind.
TypeParameter
);
12812
N(SyntaxKind.
TypeParameter
);
Parsing\DeclarationParsingTests.cs (33)
6636
N(SyntaxKind.
TypeParameter
);
6685
N(SyntaxKind.
TypeParameter
);
6745
N(SyntaxKind.
TypeParameter
);
6810
N(SyntaxKind.
TypeParameter
);
6995
N(SyntaxKind.
TypeParameter
);
7038
N(SyntaxKind.
TypeParameter
);
7081
N(SyntaxKind.
TypeParameter
);
7129
N(SyntaxKind.
TypeParameter
);
7173
N(SyntaxKind.
TypeParameter
);
7221
N(SyntaxKind.
TypeParameter
);
8466
N(SyntaxKind.
TypeParameter
);
8471
N(SyntaxKind.
TypeParameter
);
8818
N(SyntaxKind.
TypeParameter
);
8862
N(SyntaxKind.
TypeParameter
);
8867
N(SyntaxKind.
TypeParameter
);
8963
N(SyntaxKind.
TypeParameter
);
8968
N(SyntaxKind.
TypeParameter
);
9035
N(SyntaxKind.
TypeParameter
);
9040
N(SyntaxKind.
TypeParameter
);
9356
N(SyntaxKind.
TypeParameter
);
9413
N(SyntaxKind.
TypeParameter
);
9450
M(SyntaxKind.
TypeParameter
);
9689
N(SyntaxKind.
TypeParameter
);
9822
N(SyntaxKind.
TypeParameter
);
9862
M(SyntaxKind.
TypeParameter
);
10187
N(SyntaxKind.
TypeParameter
);
10241
N(SyntaxKind.
TypeParameter
);
10309
N(SyntaxKind.
TypeParameter
);
10374
N(SyntaxKind.
TypeParameter
);
10426
M(SyntaxKind.
TypeParameter
);
10475
N(SyntaxKind.
TypeParameter
);
10527
N(SyntaxKind.
TypeParameter
);
10532
M(SyntaxKind.
TypeParameter
);
Parsing\DeclarationParsingTests_MissingIdentifiers.cs (20)
446
N(SyntaxKind.
TypeParameter
);
667
N(SyntaxKind.
TypeParameter
);
957
N(SyntaxKind.
TypeParameter
);
1040
N(SyntaxKind.
TypeParameter
);
1168
N(SyntaxKind.
TypeParameter
);
1677
N(SyntaxKind.
TypeParameter
);
2378
N(SyntaxKind.
TypeParameter
);
2602
N(SyntaxKind.
TypeParameter
);
2719
N(SyntaxKind.
TypeParameter
);
2835
N(SyntaxKind.
TypeParameter
);
3055
N(SyntaxKind.
TypeParameter
);
3372
N(SyntaxKind.
TypeParameter
);
3455
N(SyntaxKind.
TypeParameter
);
3491
N(SyntaxKind.
TypeParameter
);
3529
N(SyntaxKind.
TypeParameter
);
3711
N(SyntaxKind.
TypeParameter
);
4015
N(SyntaxKind.
TypeParameter
);
4098
N(SyntaxKind.
TypeParameter
);
4134
N(SyntaxKind.
TypeParameter
);
4172
N(SyntaxKind.
TypeParameter
);
Parsing\ExpressionParsingTests.cs (1)
3701
N(SyntaxKind.
TypeParameter
);
Parsing\LocalFunctionParsingTests.cs (2)
178
M(SyntaxKind.
TypeParameter
);
223
M(SyntaxKind.
TypeParameter
);
Parsing\MemberDeclarationParsingTests.cs (29)
9191
N(SyntaxKind.
TypeParameter
);
9251
N(SyntaxKind.
TypeParameter
);
9313
N(SyntaxKind.
TypeParameter
);
9398
N(SyntaxKind.
TypeParameter
);
9461
N(SyntaxKind.
TypeParameter
);
9511
N(SyntaxKind.
TypeParameter
);
9566
N(SyntaxKind.
TypeParameter
);
9628
N(SyntaxKind.
TypeParameter
);
12735
N(SyntaxKind.
TypeParameter
);
12740
N(SyntaxKind.
TypeParameter
);
13998
N(SyntaxKind.
TypeParameter
);
14077
N(SyntaxKind.
TypeParameter
);
15021
M(SyntaxKind.
TypeParameter
);
15155
M(SyntaxKind.
TypeParameter
);
15971
N(SyntaxKind.
TypeParameter
);
16068
N(SyntaxKind.
TypeParameter
);
16176
N(SyntaxKind.
TypeParameter
);
16329
N(SyntaxKind.
TypeParameter
);
16502
N(SyntaxKind.
TypeParameter
);
16507
N(SyntaxKind.
TypeParameter
);
16614
N(SyntaxKind.
TypeParameter
);
16619
N(SyntaxKind.
TypeParameter
);
16737
N(SyntaxKind.
TypeParameter
);
16742
N(SyntaxKind.
TypeParameter
);
16918
N(SyntaxKind.
TypeParameter
);
16923
N(SyntaxKind.
TypeParameter
);
18113
N(SyntaxKind.
TypeParameter
);
18545
N(SyntaxKind.
TypeParameter
);
18617
N(SyntaxKind.
TypeParameter
);
Parsing\NameParsingTests.cs (15)
852
N(SyntaxKind.
TypeParameter
);
857
N(SyntaxKind.
TypeParameter
);
950
N(SyntaxKind.
TypeParameter
);
955
N(SyntaxKind.
TypeParameter
);
1048
N(SyntaxKind.
TypeParameter
);
1072
N(SyntaxKind.
TypeParameter
);
1077
N(SyntaxKind.
TypeParameter
);
1173
N(SyntaxKind.
TypeParameter
);
1197
N(SyntaxKind.
TypeParameter
);
1202
N(SyntaxKind.
TypeParameter
);
1302
N(SyntaxKind.
TypeParameter
);
1318
N(SyntaxKind.
TypeParameter
);
1323
N(SyntaxKind.
TypeParameter
);
1347
N(SyntaxKind.
TypeParameter
);
1352
N(SyntaxKind.
TypeParameter
);
Parsing\RecordParsing.cs (16)
465
N(SyntaxKind.
TypeParameter
);
509
N(SyntaxKind.
TypeParameter
);
549
N(SyntaxKind.
TypeParameter
);
554
N(SyntaxKind.
TypeParameter
);
608
N(SyntaxKind.
TypeParameter
);
648
N(SyntaxKind.
TypeParameter
);
653
N(SyntaxKind.
TypeParameter
);
716
N(SyntaxKind.
TypeParameter
);
792
N(SyntaxKind.
TypeParameter
);
862
N(SyntaxKind.
TypeParameter
);
922
N(SyntaxKind.
TypeParameter
);
967
N(SyntaxKind.
TypeParameter
);
1015
N(SyntaxKind.
TypeParameter
);
1070
N(SyntaxKind.
TypeParameter
);
1144
N(SyntaxKind.
TypeParameter
);
4190
N(SyntaxKind.
TypeParameter
);
Parsing\ScriptParsingTests.cs (2)
3490
N(SyntaxKind.
TypeParameter
);
8624
M(SyntaxKind.
TypeParameter
);
Parsing\SeparatedSyntaxListParsingTests.cs (2)
637
M(SyntaxKind.
TypeParameter
);
642
M(SyntaxKind.
TypeParameter
);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (1)
651
targetToken.Parent.Parent.IsKind(SyntaxKind.
TypeParameter
) &&
Microsoft.ML.InternalCodeAnalyzer (1)
TypeParamNameAnalyzer.cs (1)
36
context.RegisterSyntaxNodeAction(Analyze, SyntaxKind.
TypeParameter
);