154 references to TypeParameterConstraintClause
Microsoft.CodeAnalysis.CSharp (5)
Syntax.xml.Internal.Generated.cs (2)
32000
return new TypeParameterConstraintClauseSyntax(SyntaxKind.
TypeParameterConstraintClause
, whereKeyword, name, colonToken, constraints.Node, this.context);
37367
return new TypeParameterConstraintClauseSyntax(SyntaxKind.
TypeParameterConstraintClause
, whereKeyword, name, colonToken, constraints.Node);
Syntax.xml.Syntax.Generated.cs (1)
11633
/// <item><description><see cref="SyntaxKind.
TypeParameterConstraintClause
"/></description></item>
Syntax\SyntaxExtensions.cs (1)
256
case SyntaxKind.
TypeParameterConstraintClause
:
Syntax\SyntaxNormalizer.cs (1)
719
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)
825
token.Parent.IsKind(SyntaxKind.
TypeParameterConstraintClause
))
956
=> targetToken.Parent.IsKind(SyntaxKind.
TypeParameterConstraintClause
) &&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\NameSyntaxExtensions.cs (1)
39
or SyntaxKind.
TypeParameterConstraintClause
)
Microsoft.CodeAnalysis.CSharp.Features (7)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (4)
1329
if (node.IsKind(SyntaxKind.
TypeParameterConstraintClause
))
1387
if (node.IsKind(SyntaxKind.
TypeParameterConstraintClause
))
1720
case SyntaxKind.
TypeParameterConstraintClause
:
2115
case SyntaxKind.
TypeParameterConstraintClause
:
EditAndContinue\SyntaxComparer.cs (3)
266
case SyntaxKind.
TypeParameterConstraintClause
:
905
case SyntaxKind.
TypeParameterConstraintClause
:
1493
case SyntaxKind.
TypeParameterConstraintClause
:
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (127)
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 (30)
6816
N(SyntaxKind.
TypeParameterConstraintClause
);
6881
N(SyntaxKind.
TypeParameterConstraintClause
);
7055
N(SyntaxKind.
TypeParameterConstraintClause
);
7098
N(SyntaxKind.
TypeParameterConstraintClause
);
7141
N(SyntaxKind.
TypeParameterConstraintClause
);
7189
N(SyntaxKind.
TypeParameterConstraintClause
);
7233
N(SyntaxKind.
TypeParameterConstraintClause
);
7281
N(SyntaxKind.
TypeParameterConstraintClause
);
8551
N(SyntaxKind.
TypeParameterConstraintClause
);
8878
N(SyntaxKind.
TypeParameterConstraintClause
);
8927
N(SyntaxKind.
TypeParameterConstraintClause
);
8940
N(SyntaxKind.
TypeParameterConstraintClause
);
9028
N(SyntaxKind.
TypeParameterConstraintClause
);
9046
N(SyntaxKind.
TypeParameterConstraintClause
);
9100
N(SyntaxKind.
TypeParameterConstraintClause
);
9118
N(SyntaxKind.
TypeParameterConstraintClause
);
9279
N(SyntaxKind.
TypeParameterConstraintClause
);
9316
N(SyntaxKind.
TypeParameterConstraintClause
);
9332
N(SyntaxKind.
TypeParameterConstraintClause
);
9646
N(SyntaxKind.
TypeParameterConstraintClause
);
9685
N(SyntaxKind.
TypeParameterConstraintClause
);
9701
N(SyntaxKind.
TypeParameterConstraintClause
);
9749
N(SyntaxKind.
TypeParameterConstraintClause
);
10252
N(SyntaxKind.
TypeParameterConstraintClause
);
10314
N(SyntaxKind.
TypeParameterConstraintClause
);
10391
N(SyntaxKind.
TypeParameterConstraintClause
);
11035
N(SyntaxKind.
TypeParameterConstraintClause
);
11097
N(SyntaxKind.
TypeParameterConstraintClause
);
11170
N(SyntaxKind.
TypeParameterConstraintClause
);
13266
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\ExtensionsParsingTests.cs (12)
68
N(SyntaxKind.
TypeParameterConstraintClause
);
124
N(SyntaxKind.
TypeParameterConstraintClause
);
638
N(SyntaxKind.
TypeParameterConstraintClause
);
651
N(SyntaxKind.
TypeParameterConstraintClause
);
728
N(SyntaxKind.
TypeParameterConstraintClause
);
744
N(SyntaxKind.
TypeParameterConstraintClause
);
4171
N(SyntaxKind.
TypeParameterConstraintClause
);
4300
N(SyntaxKind.
TypeParameterConstraintClause
);
4375
N(SyntaxKind.
TypeParameterConstraintClause
);
4453
N(SyntaxKind.
TypeParameterConstraintClause
);
4524
N(SyntaxKind.
TypeParameterConstraintClause
);
5245
N(SyntaxKind.
TypeParameterConstraintClause
);
Parsing\MemberDeclarationParsingTests.cs (8)
9205
N(SyntaxKind.
TypeParameterConstraintClause
);
9260
N(SyntaxKind.
TypeParameterConstraintClause
);
9327
N(SyntaxKind.
TypeParameterConstraintClause
);
9412
N(SyntaxKind.
TypeParameterConstraintClause
);
9470
N(SyntaxKind.
TypeParameterConstraintClause
);
9520
N(SyntaxKind.
TypeParameterConstraintClause
);
9575
N(SyntaxKind.
TypeParameterConstraintClause
);
9637
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)
3844
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)
825
token.Parent.IsKind(SyntaxKind.
TypeParameterConstraintClause
))
956
=> targetToken.Parent.IsKind(SyntaxKind.
TypeParameterConstraintClause
) &&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\NameSyntaxExtensions.cs (1)
39
or SyntaxKind.
TypeParameterConstraintClause
)
Roslyn.Diagnostics.CSharp.Analyzers (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)
825
token.Parent.IsKind(SyntaxKind.
TypeParameterConstraintClause
))
956
=> targetToken.Parent.IsKind(SyntaxKind.
TypeParameterConstraintClause
) &&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\NameSyntaxExtensions.cs (1)
39
or SyntaxKind.
TypeParameterConstraintClause
)