32 references to AllowsConstraintClause
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Constraints.cs (2)
208
if (i != n - 1 && constraintsSyntax[i + 1].Kind() != SyntaxKind.
AllowsConstraintClause
)
294
case SyntaxKind.
AllowsConstraintClause
:
Parser\LanguageParser.cs (1)
2177
if (constraint.Kind == SyntaxKind.
AllowsConstraintClause
&& haveComma && !this.IsPossibleTypeParameterConstraint())
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (29)
Parsing\AllowsConstraintParsing.cs (29)
54
N(SyntaxKind.
AllowsConstraintClause
);
163
N(SyntaxKind.
AllowsConstraintClause
);
392
N(SyntaxKind.
AllowsConstraintClause
);
449
N(SyntaxKind.
AllowsConstraintClause
);
504
N(SyntaxKind.
AllowsConstraintClause
);
562
N(SyntaxKind.
AllowsConstraintClause
);
617
N(SyntaxKind.
AllowsConstraintClause
);
627
N(SyntaxKind.
AllowsConstraintClause
);
680
N(SyntaxKind.
AllowsConstraintClause
);
738
N(SyntaxKind.
AllowsConstraintClause
);
796
N(SyntaxKind.
AllowsConstraintClause
);
872
N(SyntaxKind.
AllowsConstraintClause
);
939
N(SyntaxKind.
AllowsConstraintClause
);
1011
N(SyntaxKind.
AllowsConstraintClause
);
1078
N(SyntaxKind.
AllowsConstraintClause
);
1136
N(SyntaxKind.
AllowsConstraintClause
);
1190
N(SyntaxKind.
AllowsConstraintClause
);
1244
N(SyntaxKind.
AllowsConstraintClause
);
1301
N(SyntaxKind.
AllowsConstraintClause
);
1358
N(SyntaxKind.
AllowsConstraintClause
);
1415
N(SyntaxKind.
AllowsConstraintClause
);
1471
N(SyntaxKind.
AllowsConstraintClause
);
1540
N(SyntaxKind.
AllowsConstraintClause
);
1589
N(SyntaxKind.
AllowsConstraintClause
);
1643
N(SyntaxKind.
AllowsConstraintClause
);
1697
N(SyntaxKind.
AllowsConstraintClause
);
1754
N(SyntaxKind.
AllowsConstraintClause
);
1811
N(SyntaxKind.
AllowsConstraintClause
);
1868
N(SyntaxKind.
AllowsConstraintClause
);