502 references to GenericName
ILLink.RoslynAnalyzer (1)
RequiresAnalyzerBase.cs (1)
108
}, SyntaxKind.
GenericName
);
Microsoft.CodeAnalysis.CSharp (25)
Binder\Binder_Expressions.cs (5)
620
case SyntaxKind.
GenericName
:
1581
SeparatedSyntaxList<TypeSyntax> typeArgumentList = node.Kind() == SyntaxKind.
GenericName
1634
if (!isNamedType && (hasTypeArguments || node.Kind() == SyntaxKind.
GenericName
))
7537
SeparatedSyntaxList<TypeSyntax> typeArgumentsSyntax = right.Kind() == SyntaxKind.
GenericName
?
7660
var typeArgumentsSyntax = right.Kind() == SyntaxKind.
GenericName
? ((GenericNameSyntax)right).TypeArgumentList.Arguments : default(SeparatedSyntaxList<TypeSyntax>);
Binder\Binder_Invocation.cs (2)
29
case SyntaxKind.
GenericName
:
2276
case SyntaxKind.
GenericName
:
Binder\Binder_Symbols.cs (2)
421
case SyntaxKind.
GenericName
:
839
case SyntaxKind.
GenericName
:
Binder\EarlyWellKnownAttributeBinder.cs (1)
93
case SyntaxKind.
GenericName
:
Binder\WithCrefTypeParametersBinder.cs (1)
92
case SyntaxKind.
GenericName
:
Compilation\MemberSemanticModel.cs (1)
2218
case SyntaxKind.
GenericName
:
Compilation\SyntaxTreeSemanticModel.cs (1)
1724
case SyntaxKind.
GenericName
:
Declarations\DeclarationTreeBuilder.cs (2)
628
case SyntaxKind.
GenericName
:
644
case SyntaxKind.
GenericName
:
FlowAnalysis\NullableWalker.cs (1)
6705
return nameSyntax.Kind() != SyntaxKind.
GenericName
;
Parser\LanguageParser.cs (1)
10786
case SyntaxKind.
GenericName
:
Symbols\NamespaceSymbol.cs (1)
287
case SyntaxKind.
GenericName
: // DeclarationTreeBuilder.VisitNamespace uses the PlainName, even for generic names
Syntax\SyntaxExtensions.cs (1)
462
case SyntaxKind.
GenericName
:
Syntax\SyntaxFactory.cs (5)
2069
if (parent != null && (node.Kind() == SyntaxKind.IdentifierName || node.Kind() == SyntaxKind.
GenericName
))
2128
case SyntaxKind.
GenericName
:
2284
if (max.Name.Kind() == SyntaxKind.
GenericName
)
2292
if (qn.Right.Kind() == SyntaxKind.
GenericName
)
2300
if (an.Name.Kind() == SyntaxKind.
GenericName
)
Syntax\SyntaxKindFacts.cs (1)
306
case SyntaxKind.
GenericName
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SemanticModelExtensions.cs (1)
82
case SyntaxKind.
GenericName
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
555
=> simpleName.IsKind(SyntaxKind.
GenericName
) ||
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
74
public int GenericName => (int)SyntaxKind.
GenericName
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\NameSyntaxComparer.cs (1)
99
case SyntaxKind.
GenericName
:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Editing\CSharpImportAdder.cs (1)
167
case SyntaxKind.
GenericName
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2849
if (type.Kind() is SyntaxKind.
GenericName
or SyntaxKind.AliasQualifiedName or SyntaxKind.PredefinedType)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\NameSyntaxExtensions.cs (1)
37
else if (nameSyntax.Kind() == SyntaxKind.
GenericName
)
Microsoft.CodeAnalysis.CSharp.Features (7)
CodeRefactorings\ConvertLocalFunctionToMethod\CSharpConvertLocalFunctionToMethodCodeRefactoringProvider.cs (1)
156
case SyntaxKind.
GenericName
:
Diagnostics\Analyzers\CSharpSimplifyTypeNamesDiagnosticAnalyzer.cs (1)
29
SyntaxKind.
GenericName
,
EditAndContinue\SyntaxComparer.cs (1)
507
case SyntaxKind.
GenericName
:
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.ExpressionCodeGenerator.cs (1)
66
case SyntaxKind.
GenericName
:
GenerateMember\GenerateVariable\CSharpGenerateVariableService.cs (2)
136
if (identifierName.IsKind(SyntaxKind.
GenericName
))
158
return parsedType.IsKind(SyntaxKind.
GenericName
) && !parsedType.ContainsDiagnostics;
GenerateType\CSharpGenerateTypeService.cs (1)
174
SyntaxKind.
GenericName
or
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\GetSemanticInfoTests.cs (2)
1525
Assert.Equal(SyntaxKind.
GenericName
, exprSyntaxToBind.Kind());
1885
Assert.Equal(SyntaxKind.
GenericName
, nameSyntaxToBind.Kind());
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (440)
Parsing\AnonymousFunctionParsingTests.cs (30)
577
N(SyntaxKind.
GenericName
);
708
N(SyntaxKind.
GenericName
);
719
N(SyntaxKind.
GenericName
);
826
N(SyntaxKind.
GenericName
);
2517
N(SyntaxKind.
GenericName
);
2528
N(SyntaxKind.
GenericName
);
2665
N(SyntaxKind.
GenericName
);
2676
N(SyntaxKind.
GenericName
);
2813
N(SyntaxKind.
GenericName
);
2824
N(SyntaxKind.
GenericName
);
2939
N(SyntaxKind.
GenericName
);
3075
N(SyntaxKind.
GenericName
);
3086
N(SyntaxKind.
GenericName
);
3198
N(SyntaxKind.
GenericName
);
3338
N(SyntaxKind.
GenericName
);
3349
N(SyntaxKind.
GenericName
);
3491
N(SyntaxKind.
GenericName
);
3502
N(SyntaxKind.
GenericName
);
3644
N(SyntaxKind.
GenericName
);
3655
N(SyntaxKind.
GenericName
);
3793
N(SyntaxKind.
GenericName
);
3938
N(SyntaxKind.
GenericName
);
3944
N(SyntaxKind.
GenericName
);
4070
N(SyntaxKind.
GenericName
);
4219
N(SyntaxKind.
GenericName
);
4225
N(SyntaxKind.
GenericName
);
4381
N(SyntaxKind.
GenericName
);
4387
N(SyntaxKind.
GenericName
);
4543
N(SyntaxKind.
GenericName
);
4549
N(SyntaxKind.
GenericName
);
Parsing\AsyncParsingTests.cs (7)
692
N(SyntaxKind.
GenericName
);
745
N(SyntaxKind.
GenericName
);
800
N(SyntaxKind.
GenericName
);
896
N(SyntaxKind.
GenericName
);
942
N(SyntaxKind.
GenericName
);
2347
N(SyntaxKind.
GenericName
);
2353
N(SyntaxKind.
GenericName
);
Parsing\CollectionExpressionParsingTests.cs (20)
3885
N(SyntaxKind.
GenericName
);
3946
N(SyntaxKind.
GenericName
);
4008
N(SyntaxKind.
GenericName
);
4177
N(SyntaxKind.
GenericName
);
5070
N(SyntaxKind.
GenericName
);
5140
N(SyntaxKind.
GenericName
);
5460
N(SyntaxKind.
GenericName
);
5521
N(SyntaxKind.
GenericName
);
5552
N(SyntaxKind.
GenericName
);
5588
N(SyntaxKind.
GenericName
);
5594
N(SyntaxKind.
GenericName
);
5657
N(SyntaxKind.
GenericName
);
5718
N(SyntaxKind.
GenericName
);
7045
N(SyntaxKind.
GenericName
);
7089
N(SyntaxKind.
GenericName
);
7147
N(SyntaxKind.
GenericName
);
7206
N(SyntaxKind.
GenericName
);
7255
N(SyntaxKind.
GenericName
);
16866
N(SyntaxKind.
GenericName
);
16975
N(SyntaxKind.
GenericName
);
Parsing\CrefParsingTests.cs (17)
60
N(SyntaxKind.
GenericName
);
102
N(SyntaxKind.
GenericName
);
163
N(SyntaxKind.
GenericName
);
221
N(SyntaxKind.
GenericName
);
691
N(SyntaxKind.
GenericName
);
697
N(SyntaxKind.
GenericName
);
735
N(SyntaxKind.
GenericName
);
741
N(SyntaxKind.
GenericName
);
785
N(SyntaxKind.
GenericName
);
791
N(SyntaxKind.
GenericName
);
829
N(SyntaxKind.
GenericName
);
835
N(SyntaxKind.
GenericName
);
1912
N(SyntaxKind.
GenericName
);
1981
N(SyntaxKind.
GenericName
);
2243
N(SyntaxKind.
GenericName
);
2257
N(SyntaxKind.
GenericName
);
2555
N(SyntaxKind.
GenericName
);
Parsing\DeclarationParsingTests.cs (4)
5647
Assert.Equal(SyntaxKind.
GenericName
, ns.Name.Kind());
5659
Assert.Equal(SyntaxKind.
GenericName
, ns.Name.Kind());
8375
N(SyntaxKind.
GenericName
);
8482
N(SyntaxKind.
GenericName
);
Parsing\DeclarationParsingTests_MissingIdentifiers.cs (59)
272
N(SyntaxKind.
GenericName
);
354
N(SyntaxKind.
GenericName
);
379
N(SyntaxKind.
GenericName
);
457
N(SyntaxKind.
GenericName
);
482
N(SyntaxKind.
GenericName
);
575
N(SyntaxKind.
GenericName
);
600
N(SyntaxKind.
GenericName
);
678
N(SyntaxKind.
GenericName
);
703
N(SyntaxKind.
GenericName
);
751
N(SyntaxKind.
GenericName
);
853
N(SyntaxKind.
GenericName
);
890
N(SyntaxKind.
GenericName
);
968
N(SyntaxKind.
GenericName
);
993
N(SyntaxKind.
GenericName
);
1064
N(SyntaxKind.
GenericName
);
1101
N(SyntaxKind.
GenericName
);
1179
N(SyntaxKind.
GenericName
);
1204
N(SyntaxKind.
GenericName
);
1475
N(SyntaxKind.
GenericName
);
1503
N(SyntaxKind.
GenericName
);
1585
N(SyntaxKind.
GenericName
);
1610
N(SyntaxKind.
GenericName
);
1688
N(SyntaxKind.
GenericName
);
1713
N(SyntaxKind.
GenericName
);
2204
N(SyntaxKind.
GenericName
);
2286
N(SyntaxKind.
GenericName
);
2311
N(SyntaxKind.
GenericName
);
2389
N(SyntaxKind.
GenericName
);
2414
N(SyntaxKind.
GenericName
);
2510
N(SyntaxKind.
GenericName
);
2535
N(SyntaxKind.
GenericName
);
2613
N(SyntaxKind.
GenericName
);
2638
N(SyntaxKind.
GenericName
);
2743
N(SyntaxKind.
GenericName
);
2768
N(SyntaxKind.
GenericName
);
2846
N(SyntaxKind.
GenericName
);
2871
N(SyntaxKind.
GenericName
);
2979
N(SyntaxKind.
GenericName
);
3066
N(SyntaxKind.
GenericName
);
3091
N(SyntaxKind.
GenericName
);
3140
N(SyntaxKind.
GenericName
);
3237
N(SyntaxKind.
GenericName
);
3259
N(SyntaxKind.
GenericName
);
3296
N(SyntaxKind.
GenericName
);
3383
N(SyntaxKind.
GenericName
);
3408
N(SyntaxKind.
GenericName
);
3466
N(SyntaxKind.
GenericName
);
3502
N(SyntaxKind.
GenericName
);
3635
N(SyntaxKind.
GenericName
);
3722
N(SyntaxKind.
GenericName
);
3747
N(SyntaxKind.
GenericName
);
3796
N(SyntaxKind.
GenericName
);
3892
N(SyntaxKind.
GenericName
);
3914
N(SyntaxKind.
GenericName
);
3939
N(SyntaxKind.
GenericName
);
4026
N(SyntaxKind.
GenericName
);
4051
N(SyntaxKind.
GenericName
);
4109
N(SyntaxKind.
GenericName
);
4145
N(SyntaxKind.
GenericName
);
Parsing\DeconstructionTests.cs (1)
3085
N(SyntaxKind.
GenericName
);
Parsing\ExpressionParsingTests.cs (1)
4150
N(SyntaxKind.
GenericName
);
Parsing\FieldKeywordParsingTests.cs (2)
694
N(SyntaxKind.
GenericName
);
774
N(SyntaxKind.
GenericName
);
Parsing\FunctionPointerTests.cs (2)
2027
N(SyntaxKind.
GenericName
);
4078
N(SyntaxKind.
GenericName
);
Parsing\LambdaParameterParsingTests.cs (47)
89
N(SyntaxKind.
GenericName
);
200
N(SyntaxKind.
GenericName
);
319
N(SyntaxKind.
GenericName
);
445
N(SyntaxKind.
GenericName
);
574
N(SyntaxKind.
GenericName
);
787
N(SyntaxKind.
GenericName
);
843
N(SyntaxKind.
GenericName
);
920
N(SyntaxKind.
GenericName
);
981
N(SyntaxKind.
GenericName
);
1055
N(SyntaxKind.
GenericName
);
1120
N(SyntaxKind.
GenericName
);
1195
N(SyntaxKind.
GenericName
);
1261
N(SyntaxKind.
GenericName
);
1317
N(SyntaxKind.
GenericName
);
1378
N(SyntaxKind.
GenericName
);
1442
N(SyntaxKind.
GenericName
);
1506
N(SyntaxKind.
GenericName
);
1569
N(SyntaxKind.
GenericName
);
1619
N(SyntaxKind.
GenericName
);
1670
N(SyntaxKind.
GenericName
);
1738
N(SyntaxKind.
GenericName
);
1806
N(SyntaxKind.
GenericName
);
1862
N(SyntaxKind.
GenericName
);
1930
N(SyntaxKind.
GenericName
);
1988
N(SyntaxKind.
GenericName
);
2062
N(SyntaxKind.
GenericName
);
2156
N(SyntaxKind.
GenericName
);
2220
N(SyntaxKind.
GenericName
);
2310
N(SyntaxKind.
GenericName
);
2425
N(SyntaxKind.
GenericName
);
2496
N(SyntaxKind.
GenericName
);
2566
N(SyntaxKind.
GenericName
);
3765
N(SyntaxKind.
GenericName
);
3865
N(SyntaxKind.
GenericName
);
4151
N(SyntaxKind.
GenericName
);
4187
N(SyntaxKind.
GenericName
);
4339
N(SyntaxKind.
GenericName
);
4403
N(SyntaxKind.
GenericName
);
4472
N(SyntaxKind.
GenericName
);
4558
N(SyntaxKind.
GenericName
);
4617
N(SyntaxKind.
GenericName
);
4766
N(SyntaxKind.
GenericName
);
4822
N(SyntaxKind.
GenericName
);
4883
N(SyntaxKind.
GenericName
);
4961
N(SyntaxKind.
GenericName
);
5020
N(SyntaxKind.
GenericName
);
5492
N(SyntaxKind.
GenericName
);
Parsing\LambdaReturnTypeParsingTests.cs (5)
1279
N(SyntaxKind.
GenericName
);
1316
N(SyntaxKind.
GenericName
);
2148
N(SyntaxKind.
GenericName
);
2190
N(SyntaxKind.
GenericName
);
4919
N(SyntaxKind.
GenericName
);
Parsing\LocalFunctionParsingTests.cs (1)
2703
N(SyntaxKind.
GenericName
);
Parsing\MemberDeclarationParsingTests.cs (121)
787
N(SyntaxKind.
GenericName
);
835
N(SyntaxKind.
GenericName
);
885
N(SyntaxKind.
GenericName
);
928
N(SyntaxKind.
GenericName
);
968
N(SyntaxKind.
GenericName
);
1015
N(SyntaxKind.
GenericName
);
3078
N(SyntaxKind.
GenericName
);
3992
N(SyntaxKind.
GenericName
);
4964
N(SyntaxKind.
GenericName
);
5838
N(SyntaxKind.
GenericName
);
6871
N(SyntaxKind.
GenericName
);
7688
N(SyntaxKind.
GenericName
);
8652
N(SyntaxKind.
GenericName
);
12435
N(SyntaxKind.
GenericName
);
12569
N(SyntaxKind.
GenericName
);
12700
N(SyntaxKind.
GenericName
);
12784
N(SyntaxKind.
GenericName
);
12859
N(SyntaxKind.
GenericName
);
12942
N(SyntaxKind.
GenericName
);
13028
N(SyntaxKind.
GenericName
);
13057
N(SyntaxKind.
GenericName
);
13112
N(SyntaxKind.
GenericName
);
13141
N(SyntaxKind.
GenericName
);
13196
N(SyntaxKind.
GenericName
);
13275
N(SyntaxKind.
GenericName
);
13354
N(SyntaxKind.
GenericName
);
13441
N(SyntaxKind.
GenericName
);
13528
N(SyntaxKind.
GenericName
);
13619
N(SyntaxKind.
GenericName
);
13736
N(SyntaxKind.
GenericName
);
13810
N(SyntaxKind.
GenericName
);
13884
N(SyntaxKind.
GenericName
);
13963
N(SyntaxKind.
GenericName
);
14042
N(SyntaxKind.
GenericName
);
14130
N(SyntaxKind.
GenericName
);
14166
N(SyntaxKind.
GenericName
);
14213
N(SyntaxKind.
GenericName
);
14249
N(SyntaxKind.
GenericName
);
14299
N(SyntaxKind.
GenericName
);
14343
N(SyntaxKind.
GenericName
);
14390
N(SyntaxKind.
GenericName
);
14434
N(SyntaxKind.
GenericName
);
14484
N(SyntaxKind.
GenericName
);
14520
N(SyntaxKind.
GenericName
);
14567
N(SyntaxKind.
GenericName
);
14603
N(SyntaxKind.
GenericName
);
14644
N(SyntaxKind.
GenericName
);
14719
N(SyntaxKind.
GenericName
);
14794
N(SyntaxKind.
GenericName
);
14877
N(SyntaxKind.
GenericName
);
14986
N(SyntaxKind.
GenericName
);
15120
N(SyntaxKind.
GenericName
);
15228
N(SyntaxKind.
GenericName
);
15286
N(SyntaxKind.
GenericName
);
15344
N(SyntaxKind.
GenericName
);
15402
N(SyntaxKind.
GenericName
);
15457
N(SyntaxKind.
GenericName
);
15536
N(SyntaxKind.
GenericName
);
15615
N(SyntaxKind.
GenericName
);
15698
N(SyntaxKind.
GenericName
);
15785
N(SyntaxKind.
GenericName
);
15882
N(SyntaxKind.
GenericName
);
15989
N(SyntaxKind.
GenericName
);
16086
N(SyntaxKind.
GenericName
);
16092
N(SyntaxKind.
GenericName
);
16224
N(SyntaxKind.
GenericName
);
16238
N(SyntaxKind.
GenericName
);
16261
N(SyntaxKind.
GenericName
);
16377
N(SyntaxKind.
GenericName
);
16391
N(SyntaxKind.
GenericName
);
16416
N(SyntaxKind.
GenericName
);
16422
N(SyntaxKind.
GenericName
);
16525
N(SyntaxKind.
GenericName
);
16637
N(SyntaxKind.
GenericName
);
16643
N(SyntaxKind.
GenericName
);
16790
N(SyntaxKind.
GenericName
);
16809
N(SyntaxKind.
GenericName
);
16837
N(SyntaxKind.
GenericName
);
16971
N(SyntaxKind.
GenericName
);
16990
N(SyntaxKind.
GenericName
);
17020
N(SyntaxKind.
GenericName
);
17026
N(SyntaxKind.
GenericName
);
17104
N(SyntaxKind.
GenericName
);
17174
N(SyntaxKind.
GenericName
);
17238
N(SyntaxKind.
GenericName
);
17298
N(SyntaxKind.
GenericName
);
17371
N(SyntaxKind.
GenericName
);
17437
N(SyntaxKind.
GenericName
);
17499
N(SyntaxKind.
GenericName
);
17573
N(SyntaxKind.
GenericName
);
17654
N(SyntaxKind.
GenericName
);
17716
N(SyntaxKind.
GenericName
);
17790
N(SyntaxKind.
GenericName
);
17879
N(SyntaxKind.
GenericName
);
17934
N(SyntaxKind.
GenericName
);
17950
N(SyntaxKind.
GenericName
);
18004
N(SyntaxKind.
GenericName
);
18023
N(SyntaxKind.
GenericName
);
18039
N(SyntaxKind.
GenericName
);
18096
N(SyntaxKind.
GenericName
);
18124
N(SyntaxKind.
GenericName
);
18140
N(SyntaxKind.
GenericName
);
18196
N(SyntaxKind.
GenericName
);
18244
N(SyntaxKind.
GenericName
);
18297
N(SyntaxKind.
GenericName
);
18345
N(SyntaxKind.
GenericName
);
18395
N(SyntaxKind.
GenericName
);
18443
N(SyntaxKind.
GenericName
);
18495
N(SyntaxKind.
GenericName
);
18556
N(SyntaxKind.
GenericName
);
18628
N(SyntaxKind.
GenericName
);
18650
N(SyntaxKind.
GenericName
);
18723
N(SyntaxKind.
GenericName
);
18805
N(SyntaxKind.
GenericName
);
18842
N(SyntaxKind.
GenericName
);
18901
N(SyntaxKind.
GenericName
);
18938
N(SyntaxKind.
GenericName
);
18994
N(SyntaxKind.
GenericName
);
19075
N(SyntaxKind.
GenericName
);
19159
N(SyntaxKind.
GenericName
);
19231
N(SyntaxKind.
GenericName
);
Parsing\NameParsingTests.cs (31)
209
Assert.Equal(SyntaxKind.
GenericName
, name.Kind());
225
Assert.Equal(SyntaxKind.
GenericName
, name.Kind());
241
Assert.Equal(SyntaxKind.
GenericName
, name.Kind());
248
Assert.Equal(SyntaxKind.
GenericName
, gname.TypeArgumentList.Arguments[0].Kind());
260
N(SyntaxKind.
GenericName
);
266
N(SyntaxKind.
GenericName
);
272
N(SyntaxKind.
GenericName
);
301
Assert.Equal(SyntaxKind.
GenericName
, name.Kind());
318
Assert.Equal(SyntaxKind.
GenericName
, name.Kind());
363
Assert.Equal(SyntaxKind.
GenericName
, tname.Kind());
380
Assert.Equal(SyntaxKind.
GenericName
, tname.Kind());
388
Assert.Equal(SyntaxKind.
GenericName
, gname.TypeArgumentList.Arguments[0].Kind());
400
N(SyntaxKind.
GenericName
);
406
N(SyntaxKind.
GenericName
);
412
N(SyntaxKind.
GenericName
);
441
Assert.Equal(SyntaxKind.
GenericName
, tname.Kind());
622
Assert.Equal(SyntaxKind.
GenericName
, tname.Kind());
647
Assert.Equal(SyntaxKind.
GenericName
, tname.Kind());
673
Assert.Equal(SyntaxKind.
GenericName
, tname.Kind());
699
Assert.Equal(SyntaxKind.
GenericName
, tname.Kind());
731
Assert.Equal(SyntaxKind.
GenericName
, tname.Kind());
756
Assert.Equal(SyntaxKind.
GenericName
, tname.Kind());
875
N(SyntaxKind.
GenericName
);
973
N(SyntaxKind.
GenericName
);
1095
N(SyntaxKind.
GenericName
);
1106
N(SyntaxKind.
GenericName
);
1220
N(SyntaxKind.
GenericName
);
1226
N(SyntaxKind.
GenericName
);
1370
N(SyntaxKind.
GenericName
);
1376
N(SyntaxKind.
GenericName
);
1390
N(SyntaxKind.
GenericName
);
Parsing\NullableParsingTests.cs (1)
1029
N(SyntaxKind.
GenericName
);
Parsing\ParserRegressionTests.cs (6)
306
N(SyntaxKind.
GenericName
);
399
N(SyntaxKind.
GenericName
);
444
N(SyntaxKind.
GenericName
);
533
N(SyntaxKind.
GenericName
);
623
N(SyntaxKind.
GenericName
);
788
N(SyntaxKind.
GenericName
);
Parsing\PatternParsingTests.cs (10)
239
N(SyntaxKind.
GenericName
);
370
N(SyntaxKind.
GenericName
);
418
N(SyntaxKind.
GenericName
);
472
N(SyntaxKind.
GenericName
);
529
N(SyntaxKind.
GenericName
);
959
N(SyntaxKind.
GenericName
);
1001
N(SyntaxKind.
GenericName
);
8152
N(SyntaxKind.
GenericName
);
12066
N(SyntaxKind.
GenericName
);
12091
N(SyntaxKind.
GenericName
);
Parsing\PatternParsingTests_ListPatterns.cs (1)
250
N(SyntaxKind.
GenericName
);
Parsing\PatternParsingTests2.cs (6)
185
N(SyntaxKind.
GenericName
);
1007
N(SyntaxKind.
GenericName
);
1101
N(SyntaxKind.
GenericName
);
1177
N(SyntaxKind.
GenericName
);
1218
N(SyntaxKind.
GenericName
);
1322
N(SyntaxKind.
GenericName
);
Parsing\ScriptParsingTests.cs (14)
2136
N(SyntaxKind.
GenericName
);
2232
N(SyntaxKind.
GenericName
);
2688
N(SyntaxKind.
GenericName
);
3162
N(SyntaxKind.
GenericName
);
3212
N(SyntaxKind.
GenericName
);
3230
N(SyntaxKind.
GenericName
);
3471
N(SyntaxKind.
GenericName
);
4521
N(SyntaxKind.
GenericName
);
4862
N(SyntaxKind.
GenericName
);
4912
N(SyntaxKind.
GenericName
);
4972
N(SyntaxKind.
GenericName
);
5030
N(SyntaxKind.
GenericName
);
5093
N(SyntaxKind.
GenericName
);
9250
N(SyntaxKind.
GenericName
);
Parsing\SeparatedSyntaxListParsingTests.cs (17)
72
N(SyntaxKind.
GenericName
);
96
N(SyntaxKind.
GenericName
);
120
N(SyntaxKind.
GenericName
);
149
N(SyntaxKind.
GenericName
);
178
N(SyntaxKind.
GenericName
);
212
N(SyntaxKind.
GenericName
);
241
N(SyntaxKind.
GenericName
);
270
N(SyntaxKind.
GenericName
);
368
N(SyntaxKind.
GenericName
);
408
N(SyntaxKind.
GenericName
);
454
N(SyntaxKind.
GenericName
);
460
N(SyntaxKind.
GenericName
);
487
N(SyntaxKind.
GenericName
);
493
N(SyntaxKind.
GenericName
);
534
N(SyntaxKind.
GenericName
);
540
N(SyntaxKind.
GenericName
);
589
N(SyntaxKind.
GenericName
);
Parsing\SingleLineDeclarationParsingTests.cs (1)
714
N(SyntaxKind.
GenericName
);
Parsing\StatementParsingTests.cs (1)
105
Assert.Equal(SyntaxKind.
GenericName
, ((InvocationExpressionSyntax)es.Expression).Expression.Kind());
Parsing\TopLevelStatementsParsingTests.cs (1)
2463
N(SyntaxKind.
GenericName
);
Parsing\TypeArgumentListParsingTests.cs (23)
75
N(SyntaxKind.
GenericName
);
86
N(SyntaxKind.
GenericName
);
191
N(SyntaxKind.
GenericName
);
214
N(SyntaxKind.
GenericName
);
319
N(SyntaxKind.
GenericName
);
334
N(SyntaxKind.
GenericName
);
1474
N(SyntaxKind.
GenericName
);
1489
N(SyntaxKind.
GenericName
);
1594
N(SyntaxKind.
GenericName
);
1799
N(SyntaxKind.
GenericName
);
1805
N(SyntaxKind.
GenericName
);
1819
N(SyntaxKind.
GenericName
);
1932
N(SyntaxKind.
GenericName
);
1938
N(SyntaxKind.
GenericName
);
1952
N(SyntaxKind.
GenericName
);
2054
N(SyntaxKind.
GenericName
);
2060
N(SyntaxKind.
GenericName
);
2074
N(SyntaxKind.
GenericName
);
2080
N(SyntaxKind.
GenericName
);
2188
N(SyntaxKind.
GenericName
);
2194
N(SyntaxKind.
GenericName
);
2208
N(SyntaxKind.
GenericName
);
2219
N(SyntaxKind.
GenericName
);
Parsing\UsingDirectiveParsingTests.cs (9)
2721
N(SyntaxKind.
GenericName
);
4658
N(SyntaxKind.
GenericName
);
4739
N(SyntaxKind.
GenericName
);
4820
N(SyntaxKind.
GenericName
);
4898
N(SyntaxKind.
GenericName
);
4976
N(SyntaxKind.
GenericName
);
5054
N(SyntaxKind.
GenericName
);
5134
N(SyntaxKind.
GenericName
);
5214
N(SyntaxKind.
GenericName
);
Parsing\ValueTupleTests.cs (1)
872
N(SyntaxKind.
GenericName
);
Syntax\SyntaxRewriterTests.cs (1)
349
var typeName = tree.GetCompilationUnitRoot().DescendantNodes().Where(n => n.IsKind(SyntaxKind.
GenericName
)).Single();
Microsoft.CodeAnalysis.CSharp.Workspaces (15)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3400
case SyntaxKind.
GenericName
:
Recommendations\CSharpRecommendationServiceRunner.cs (1)
726
originalExpressionKind is SyntaxKind.IdentifierName or SyntaxKind.
GenericName
)
Rename\CSharpRenameRewriterLanguageService.cs (1)
444
case SyntaxKind.
GenericName
:
Simplification\CSharpSimplificationService.Expander.cs (1)
615
case SyntaxKind.
GenericName
:
Simplification\Reducers\CSharpExtensionMethodReducer.cs (1)
88
else if (node.Expression.Kind() == SyntaxKind.
GenericName
)
Simplification\Simplifiers\AbstractCSharpSimplifier.cs (1)
196
return current.Kind() is SyntaxKind.AliasQualifiedName or SyntaxKind.IdentifierName or SyntaxKind.
GenericName
or SyntaxKind.QualifiedName;
Simplification\Simplifiers\NameSimplifier.cs (2)
85
if (symbol.Kind == SymbolKind.Method && name.Kind() == SyntaxKind.
GenericName
)
341
case SyntaxKind.
GenericName
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SemanticModelExtensions.cs (1)
82
case SyntaxKind.
GenericName
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
555
=> simpleName.IsKind(SyntaxKind.
GenericName
) ||
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
74
public int GenericName => (int)SyntaxKind.
GenericName
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\NameSyntaxComparer.cs (1)
99
case SyntaxKind.
GenericName
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Editing\CSharpImportAdder.cs (1)
167
case SyntaxKind.
GenericName
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2849
if (type.Kind() is SyntaxKind.
GenericName
or SyntaxKind.AliasQualifiedName or SyntaxKind.PredefinedType)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\NameSyntaxExtensions.cs (1)
37
else if (nameSyntax.Kind() == SyntaxKind.
GenericName
)
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\CommonDiagnosticAnalyzers.cs (1)
683
context.RegisterSyntaxNodeAction(AnalyzeNode, SyntaxKind.
GenericName
);
Microsoft.Interop.ComInterfaceGenerator (1)
Analyzers\RuntimeComApiUsageWithSourceGeneratedComAnalyzer.cs (1)
220
if (expression.IsKind(SyntaxKind.
GenericName
))
Microsoft.VisualStudio.LanguageServices.CSharp (3)
CodeModel\CSharpCodeModelService.CodeModelEventCollector.cs (2)
738
case SyntaxKind.
GenericName
:
817
case SyntaxKind.
GenericName
:
CodeModel\CSharpCodeModelService.NodeNameGenerator.cs (1)
40
case SyntaxKind.
GenericName
: