1 instantiation of AllowsConstraintClauseSyntax
Microsoft.CodeAnalysis.CSharp (1)
_generated\1\Syntax.xml.Internal.Generated.cs (1)
19148internal override SyntaxNode CreateRed(SyntaxNode? parent, int position) => new CSharp.Syntax.AllowsConstraintClauseSyntax(this, parent, position);
13 references to AllowsConstraintClauseSyntax
Microsoft.CodeAnalysis.CSharp (12)
_generated\0\Syntax.xml.Main.Generated.cs (6)
560public virtual TResult? VisitAllowsConstraintClause(AllowsConstraintClauseSyntax node) => this.DefaultVisit(node); 1308public virtual void VisitAllowsConstraintClause(AllowsConstraintClauseSyntax node) => this.DefaultVisit(node); 2055public override SyntaxNode? VisitAllowsConstraintClause(AllowsConstraintClauseSyntax node) 5366public static AllowsConstraintClauseSyntax AllowsConstraintClause(SyntaxToken allowsKeyword, SeparatedSyntaxList<AllowsConstraintSyntax> constraints) 5369return (AllowsConstraintClauseSyntax)Syntax.InternalSyntax.SyntaxFactory.AllowsConstraintClause((Syntax.InternalSyntax.SyntaxToken)allowsKeyword.Node!, constraints.Node.ToGreenSeparatedList<Syntax.InternalSyntax.AllowsConstraintSyntax>()).CreateRed(); 5373public static AllowsConstraintClauseSyntax AllowsConstraintClause(SeparatedSyntaxList<AllowsConstraintSyntax> constraints = default)
_generated\2\Syntax.xml.Syntax.Generated.cs (5)
11974public AllowsConstraintClauseSyntax Update(SyntaxToken allowsKeyword, SeparatedSyntaxList<AllowsConstraintSyntax> constraints) 11978var newNode = SyntaxFactory.AllowsConstraintClause(allowsKeyword, constraints); 11986public AllowsConstraintClauseSyntax WithAllowsKeyword(SyntaxToken allowsKeyword) => Update(allowsKeyword, this.Constraints); 11987public AllowsConstraintClauseSyntax WithConstraints(SeparatedSyntaxList<AllowsConstraintSyntax> constraints) => Update(this.AllowsKeyword, constraints); 11989public AllowsConstraintClauseSyntax AddConstraints(params AllowsConstraintSyntax[] items) => WithConstraints(this.Constraints.AddRange(items));
Binder\Binder_Constraints.cs (1)
310foreach (var allowsConstraint in ((AllowsConstraintClauseSyntax)syntax).Constraints)
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\StructKeywordRecommender.cs (1)
59refStructConstraint.Parent is AllowsConstraintClauseSyntax allowsClause &&