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