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