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