215 references to TypeParameter
Microsoft.CodeAnalysis.CSharp (7)
Compilation\CSharpSemanticModel.cs (1)
5163
case SyntaxKind.
TypeParameter
:
Symbols\Source\TypeParameterBuilder.cs (1)
29
Debug.Assert(syntaxRef.GetSyntax().IsKind(SyntaxKind.
TypeParameter
));
Syntax.xml.Internal.Generated.cs (4)
31646
var cached = CSharpSyntaxNodeCache.TryGetNode((int)SyntaxKind.
TypeParameter
, attributeLists.Node, varianceKeyword, identifier, this.context, out hash);
31649
var result = new TypeParameterSyntax(SyntaxKind.
TypeParameter
, attributeLists.Node, varianceKeyword, identifier, this.context);
37013
var cached = SyntaxNodeCache.TryGetNode((int)SyntaxKind.
TypeParameter
, attributeLists.Node, varianceKeyword, identifier, out hash);
37016
var result = new TypeParameterSyntax(SyntaxKind.
TypeParameter
, attributeLists.Node, varianceKeyword, identifier);
Syntax.xml.Syntax.Generated.cs (1)
10168
/// <item><description><see cref="SyntaxKind.
TypeParameter
"/></description></item>
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)
650
targetToken.Parent.Parent.IsKind(SyntaxKind.
TypeParameter
) &&
Microsoft.CodeAnalysis.CSharp.Features (7)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (3)
1724
case SyntaxKind.
TypeParameter
:
2119
case SyntaxKind.
TypeParameter
:
2395
case SyntaxKind.
TypeParameter
:
EditAndContinue\SyntaxComparer.cs (3)
269
case SyntaxKind.
TypeParameter
:
909
case SyntaxKind.
TypeParameter
:
1496
case SyntaxKind.
TypeParameter
:
src\Analyzers\CSharp\Analyzers\NamingStyle\CSharpNamingStyleDiagnosticAnalyzer.cs (1)
25
SyntaxKind.
TypeParameter
,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (196)
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 (51)
6690
N(SyntaxKind.
TypeParameter
);
6739
N(SyntaxKind.
TypeParameter
);
6799
N(SyntaxKind.
TypeParameter
);
6864
N(SyntaxKind.
TypeParameter
);
7049
N(SyntaxKind.
TypeParameter
);
7092
N(SyntaxKind.
TypeParameter
);
7135
N(SyntaxKind.
TypeParameter
);
7183
N(SyntaxKind.
TypeParameter
);
7227
N(SyntaxKind.
TypeParameter
);
7275
N(SyntaxKind.
TypeParameter
);
8520
N(SyntaxKind.
TypeParameter
);
8525
N(SyntaxKind.
TypeParameter
);
8872
N(SyntaxKind.
TypeParameter
);
8916
N(SyntaxKind.
TypeParameter
);
8921
N(SyntaxKind.
TypeParameter
);
9017
N(SyntaxKind.
TypeParameter
);
9022
N(SyntaxKind.
TypeParameter
);
9089
N(SyntaxKind.
TypeParameter
);
9094
N(SyntaxKind.
TypeParameter
);
9410
N(SyntaxKind.
TypeParameter
);
9467
N(SyntaxKind.
TypeParameter
);
9504
M(SyntaxKind.
TypeParameter
);
9743
N(SyntaxKind.
TypeParameter
);
9876
N(SyntaxKind.
TypeParameter
);
9916
M(SyntaxKind.
TypeParameter
);
10241
N(SyntaxKind.
TypeParameter
);
10295
N(SyntaxKind.
TypeParameter
);
10363
N(SyntaxKind.
TypeParameter
);
10428
N(SyntaxKind.
TypeParameter
);
10480
M(SyntaxKind.
TypeParameter
);
10529
N(SyntaxKind.
TypeParameter
);
10581
N(SyntaxKind.
TypeParameter
);
10586
M(SyntaxKind.
TypeParameter
);
12998
N(SyntaxKind.
TypeParameter
);
13049
N(SyntaxKind.
TypeParameter
);
13066
M(SyntaxKind.
TypeParameter
);
13102
N(SyntaxKind.
TypeParameter
);
13151
N(SyntaxKind.
TypeParameter
);
13197
N(SyntaxKind.
TypeParameter
);
13248
N(SyntaxKind.
TypeParameter
);
13306
N(SyntaxKind.
TypeParameter
);
13357
N(SyntaxKind.
TypeParameter
);
13414
N(SyntaxKind.
TypeParameter
);
13470
N(SyntaxKind.
TypeParameter
);
13577
N(SyntaxKind.
TypeParameter
);
13659
N(SyntaxKind.
TypeParameter
);
13664
N(SyntaxKind.
TypeParameter
);
13715
N(SyntaxKind.
TypeParameter
);
13720
N(SyntaxKind.
TypeParameter
);
13774
M(SyntaxKind.
TypeParameter
);
13827
N(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\ExtensionsParsingTests.cs (16)
49
N(SyntaxKind.
TypeParameter
);
105
N(SyntaxKind.
TypeParameter
);
418
N(SyntaxKind.
TypeParameter
);
453
N(SyntaxKind.
TypeParameter
);
614
N(SyntaxKind.
TypeParameter
);
619
N(SyntaxKind.
TypeParameter
);
704
N(SyntaxKind.
TypeParameter
);
709
N(SyntaxKind.
TypeParameter
);
840
N(SyntaxKind.
TypeParameter
);
4035
N(SyntaxKind.
TypeParameter
);
4153
N(SyntaxKind.
TypeParameter
);
4282
N(SyntaxKind.
TypeParameter
);
4357
N(SyntaxKind.
TypeParameter
);
4435
N(SyntaxKind.
TypeParameter
);
4506
N(SyntaxKind.
TypeParameter
);
4595
N(SyntaxKind.
TypeParameter
);
Parsing\LocalFunctionParsingTests.cs (2)
178
M(SyntaxKind.
TypeParameter
);
223
M(SyntaxKind.
TypeParameter
);
Parsing\MemberDeclarationParsingTests.cs (29)
9194
N(SyntaxKind.
TypeParameter
);
9254
N(SyntaxKind.
TypeParameter
);
9316
N(SyntaxKind.
TypeParameter
);
9401
N(SyntaxKind.
TypeParameter
);
9464
N(SyntaxKind.
TypeParameter
);
9514
N(SyntaxKind.
TypeParameter
);
9569
N(SyntaxKind.
TypeParameter
);
9631
N(SyntaxKind.
TypeParameter
);
14239
N(SyntaxKind.
TypeParameter
);
14244
N(SyntaxKind.
TypeParameter
);
15502
N(SyntaxKind.
TypeParameter
);
15581
N(SyntaxKind.
TypeParameter
);
16525
M(SyntaxKind.
TypeParameter
);
16659
M(SyntaxKind.
TypeParameter
);
17475
N(SyntaxKind.
TypeParameter
);
17572
N(SyntaxKind.
TypeParameter
);
17680
N(SyntaxKind.
TypeParameter
);
17833
N(SyntaxKind.
TypeParameter
);
18006
N(SyntaxKind.
TypeParameter
);
18011
N(SyntaxKind.
TypeParameter
);
18118
N(SyntaxKind.
TypeParameter
);
18123
N(SyntaxKind.
TypeParameter
);
18241
N(SyntaxKind.
TypeParameter
);
18246
N(SyntaxKind.
TypeParameter
);
18422
N(SyntaxKind.
TypeParameter
);
18427
N(SyntaxKind.
TypeParameter
);
19617
N(SyntaxKind.
TypeParameter
);
20049
N(SyntaxKind.
TypeParameter
);
20121
N(SyntaxKind.
TypeParameter
);
Parsing\NameParsingTests.cs (17)
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
);
1541
N(SyntaxKind.
TypeParameter
);
1546
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)
4004
N(SyntaxKind.
TypeParameter
);
9138
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)
650
targetToken.Parent.Parent.IsKind(SyntaxKind.
TypeParameter
) &&
Microsoft.ML.InternalCodeAnalyzer (1)
TypeParamNameAnalyzer.cs (1)
36
context.RegisterSyntaxNodeAction(Analyze, SyntaxKind.
TypeParameter
);
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (1)
650
targetToken.Parent.Parent.IsKind(SyntaxKind.
TypeParameter
) &&