1 instantiation of AllowsConstraintClauseSyntax
Microsoft.CodeAnalysis.CSharp (1)
_generated\1\Syntax.xml.Internal.Generated.cs (1)
19406internal 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)
564public virtual TResult? VisitAllowsConstraintClause(AllowsConstraintClauseSyntax node) => this.DefaultVisit(node); 1316public virtual void VisitAllowsConstraintClause(AllowsConstraintClauseSyntax node) => this.DefaultVisit(node); 2067public override SyntaxNode? VisitAllowsConstraintClause(AllowsConstraintClauseSyntax node) 5385public static AllowsConstraintClauseSyntax AllowsConstraintClause(SyntaxToken allowsKeyword, SeparatedSyntaxList<AllowsConstraintSyntax> constraints) 5388return (AllowsConstraintClauseSyntax)Syntax.InternalSyntax.SyntaxFactory.AllowsConstraintClause((Syntax.InternalSyntax.SyntaxToken)allowsKeyword.Node!, constraints.Node.ToGreenSeparatedList<Syntax.InternalSyntax.AllowsConstraintSyntax>()).CreateRed(); 5392public static AllowsConstraintClauseSyntax AllowsConstraintClause(SeparatedSyntaxList<AllowsConstraintSyntax> constraints = default)
_generated\2\Syntax.xml.Syntax.Generated.cs (5)
12142public AllowsConstraintClauseSyntax Update(SyntaxToken allowsKeyword, SeparatedSyntaxList<AllowsConstraintSyntax> constraints) 12146var newNode = SyntaxFactory.AllowsConstraintClause(allowsKeyword, constraints); 12154public AllowsConstraintClauseSyntax WithAllowsKeyword(SyntaxToken allowsKeyword) => Update(allowsKeyword, this.Constraints); 12155public AllowsConstraintClauseSyntax WithConstraints(SeparatedSyntaxList<AllowsConstraintSyntax> constraints) => Update(this.AllowsKeyword, constraints); 12157public 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 &&