129 references to TypeParameterConstraintClause
Microsoft.CodeAnalysis.CSharp (2)
Syntax\SyntaxExtensions.cs (1)
256case SyntaxKind.TypeParameterConstraintClause:
Syntax\SyntaxNormalizer.cs (1)
702next.Parent.IsKind(SyntaxKind.TypeParameterConstraintClause) ||
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (2)
116currentToken.Parent.IsKind(SyntaxKind.TypeParameterConstraintClause)) 131firstTokenAfterTypeConstraint.Parent.IsKind(SyntaxKind.TypeParameterConstraintClause))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (2)
824token.Parent.IsKind(SyntaxKind.TypeParameterConstraintClause)) 955=> targetToken.Parent.IsKind(SyntaxKind.TypeParameterConstraintClause) &&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\NameSyntaxExtensions.cs (1)
58or SyntaxKind.TypeParameterConstraintClause)
Microsoft.CodeAnalysis.CSharp.Features (3)
EditAndContinue\SyntaxComparer.cs (3)
264case SyntaxKind.TypeParameterConstraintClause: 900case SyntaxKind.TypeParameterConstraintClause: 1481case SyntaxKind.TypeParameterConstraintClause:
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (114)
Parsing\AllowsConstraintParsing.cs (36)
46N(SyntaxKind.TypeParameterConstraintClause); 99N(SyntaxKind.TypeParameterConstraintClause); 155N(SyntaxKind.TypeParameterConstraintClause); 204N(SyntaxKind.TypeParameterConstraintClause); 258N(SyntaxKind.TypeParameterConstraintClause); 317N(SyntaxKind.TypeParameterConstraintClause); 384N(SyntaxKind.TypeParameterConstraintClause); 441N(SyntaxKind.TypeParameterConstraintClause); 496N(SyntaxKind.TypeParameterConstraintClause); 554N(SyntaxKind.TypeParameterConstraintClause); 609N(SyntaxKind.TypeParameterConstraintClause); 672N(SyntaxKind.TypeParameterConstraintClause); 725N(SyntaxKind.TypeParameterConstraintClause); 788N(SyntaxKind.TypeParameterConstraintClause); 806N(SyntaxKind.TypeParameterConstraintClause); 859N(SyntaxKind.TypeParameterConstraintClause); 882N(SyntaxKind.TypeParameterConstraintClause); 931N(SyntaxKind.TypeParameterConstraintClause); 949N(SyntaxKind.TypeParameterConstraintClause); 998N(SyntaxKind.TypeParameterConstraintClause); 1021N(SyntaxKind.TypeParameterConstraintClause); 1065N(SyntaxKind.TypeParameterConstraintClause); 1123N(SyntaxKind.TypeParameterConstraintClause); 1177N(SyntaxKind.TypeParameterConstraintClause); 1231N(SyntaxKind.TypeParameterConstraintClause); 1285N(SyntaxKind.TypeParameterConstraintClause); 1342N(SyntaxKind.TypeParameterConstraintClause); 1399N(SyntaxKind.TypeParameterConstraintClause); 1456N(SyntaxKind.TypeParameterConstraintClause); 1512N(SyntaxKind.TypeParameterConstraintClause); 1581N(SyntaxKind.TypeParameterConstraintClause); 1635N(SyntaxKind.TypeParameterConstraintClause); 1689N(SyntaxKind.TypeParameterConstraintClause); 1746N(SyntaxKind.TypeParameterConstraintClause); 1803N(SyntaxKind.TypeParameterConstraintClause); 1860N(SyntaxKind.TypeParameterConstraintClause);
Parsing\DeclarationParsingTests.cs (29)
6762N(SyntaxKind.TypeParameterConstraintClause); 6827N(SyntaxKind.TypeParameterConstraintClause); 7001N(SyntaxKind.TypeParameterConstraintClause); 7044N(SyntaxKind.TypeParameterConstraintClause); 7087N(SyntaxKind.TypeParameterConstraintClause); 7135N(SyntaxKind.TypeParameterConstraintClause); 7179N(SyntaxKind.TypeParameterConstraintClause); 7227N(SyntaxKind.TypeParameterConstraintClause); 8497N(SyntaxKind.TypeParameterConstraintClause); 8824N(SyntaxKind.TypeParameterConstraintClause); 8873N(SyntaxKind.TypeParameterConstraintClause); 8886N(SyntaxKind.TypeParameterConstraintClause); 8974N(SyntaxKind.TypeParameterConstraintClause); 8992N(SyntaxKind.TypeParameterConstraintClause); 9046N(SyntaxKind.TypeParameterConstraintClause); 9064N(SyntaxKind.TypeParameterConstraintClause); 9225N(SyntaxKind.TypeParameterConstraintClause); 9262N(SyntaxKind.TypeParameterConstraintClause); 9278N(SyntaxKind.TypeParameterConstraintClause); 9592N(SyntaxKind.TypeParameterConstraintClause); 9631N(SyntaxKind.TypeParameterConstraintClause); 9647N(SyntaxKind.TypeParameterConstraintClause); 9695N(SyntaxKind.TypeParameterConstraintClause); 10198N(SyntaxKind.TypeParameterConstraintClause); 10260N(SyntaxKind.TypeParameterConstraintClause); 10337N(SyntaxKind.TypeParameterConstraintClause); 10981N(SyntaxKind.TypeParameterConstraintClause); 11043N(SyntaxKind.TypeParameterConstraintClause); 11116N(SyntaxKind.TypeParameterConstraintClause);
Parsing\DeclarationParsingTests_MissingIdentifiers.cs (24)
369N(SyntaxKind.TypeParameterConstraintClause); 472N(SyntaxKind.TypeParameterConstraintClause); 590N(SyntaxKind.TypeParameterConstraintClause); 693N(SyntaxKind.TypeParameterConstraintClause); 880N(SyntaxKind.TypeParameterConstraintClause); 983N(SyntaxKind.TypeParameterConstraintClause); 1091N(SyntaxKind.TypeParameterConstraintClause); 1194N(SyntaxKind.TypeParameterConstraintClause); 1600N(SyntaxKind.TypeParameterConstraintClause); 1703N(SyntaxKind.TypeParameterConstraintClause); 2301N(SyntaxKind.TypeParameterConstraintClause); 2404N(SyntaxKind.TypeParameterConstraintClause); 2525N(SyntaxKind.TypeParameterConstraintClause); 2628N(SyntaxKind.TypeParameterConstraintClause); 2758N(SyntaxKind.TypeParameterConstraintClause); 2861N(SyntaxKind.TypeParameterConstraintClause); 2969N(SyntaxKind.TypeParameterConstraintClause); 3081N(SyntaxKind.TypeParameterConstraintClause); 3286N(SyntaxKind.TypeParameterConstraintClause); 3398N(SyntaxKind.TypeParameterConstraintClause); 3625N(SyntaxKind.TypeParameterConstraintClause); 3737N(SyntaxKind.TypeParameterConstraintClause); 3929N(SyntaxKind.TypeParameterConstraintClause); 4041N(SyntaxKind.TypeParameterConstraintClause);
Parsing\MemberDeclarationParsingTests.cs (8)
9202N(SyntaxKind.TypeParameterConstraintClause); 9257N(SyntaxKind.TypeParameterConstraintClause); 9324N(SyntaxKind.TypeParameterConstraintClause); 9409N(SyntaxKind.TypeParameterConstraintClause); 9467N(SyntaxKind.TypeParameterConstraintClause); 9517N(SyntaxKind.TypeParameterConstraintClause); 9572N(SyntaxKind.TypeParameterConstraintClause); 9634N(SyntaxKind.TypeParameterConstraintClause);
Parsing\RecordParsing.cs (16)
471N(SyntaxKind.TypeParameterConstraintClause); 515N(SyntaxKind.TypeParameterConstraintClause); 560N(SyntaxKind.TypeParameterConstraintClause); 573N(SyntaxKind.TypeParameterConstraintClause); 614N(SyntaxKind.TypeParameterConstraintClause); 659N(SyntaxKind.TypeParameterConstraintClause); 672N(SyntaxKind.TypeParameterConstraintClause); 727N(SyntaxKind.TypeParameterConstraintClause); 798N(SyntaxKind.TypeParameterConstraintClause); 814N(SyntaxKind.TypeParameterConstraintClause); 868N(SyntaxKind.TypeParameterConstraintClause); 884N(SyntaxKind.TypeParameterConstraintClause); 928N(SyntaxKind.TypeParameterConstraintClause); 973N(SyntaxKind.TypeParameterConstraintClause); 1021N(SyntaxKind.TypeParameterConstraintClause); 4218N(SyntaxKind.TypeParameterConstraintClause);
Parsing\ScriptParsingTests.cs (1)
3330N(SyntaxKind.TypeParameterConstraintClause);
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (2)
116currentToken.Parent.IsKind(SyntaxKind.TypeParameterConstraintClause)) 131firstTokenAfterTypeConstraint.Parent.IsKind(SyntaxKind.TypeParameterConstraintClause))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (2)
824token.Parent.IsKind(SyntaxKind.TypeParameterConstraintClause)) 955=> targetToken.Parent.IsKind(SyntaxKind.TypeParameterConstraintClause) &&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\NameSyntaxExtensions.cs (1)
58or SyntaxKind.TypeParameterConstraintClause)