1 instantiation of AllowsConstraintClauseSyntax
Microsoft.CodeAnalysis.CSharp (1)
_generated\1\Syntax.xml.Internal.Generated.cs (1)
19541internal 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)
568public virtual TResult? VisitAllowsConstraintClause(AllowsConstraintClauseSyntax node) => this.DefaultVisit(node); 1324public virtual void VisitAllowsConstraintClause(AllowsConstraintClauseSyntax node) => this.DefaultVisit(node); 2079public override SyntaxNode? VisitAllowsConstraintClause(AllowsConstraintClauseSyntax node) 5423public static AllowsConstraintClauseSyntax AllowsConstraintClause(SyntaxToken allowsKeyword, SeparatedSyntaxList<AllowsConstraintSyntax> constraints) 5426return (AllowsConstraintClauseSyntax)Syntax.InternalSyntax.SyntaxFactory.AllowsConstraintClause((Syntax.InternalSyntax.SyntaxToken)allowsKeyword.Node!, constraints.Node.ToGreenSeparatedList<Syntax.InternalSyntax.AllowsConstraintSyntax>()).CreateRed(); 5430public static AllowsConstraintClauseSyntax AllowsConstraintClause(SeparatedSyntaxList<AllowsConstraintSyntax> constraints = default)
_generated\2\Syntax.xml.Syntax.Generated.cs (5)
12235public AllowsConstraintClauseSyntax Update(SyntaxToken allowsKeyword, SeparatedSyntaxList<AllowsConstraintSyntax> constraints) 12239var newNode = SyntaxFactory.AllowsConstraintClause(allowsKeyword, constraints); 12247public AllowsConstraintClauseSyntax WithAllowsKeyword(SyntaxToken allowsKeyword) => Update(allowsKeyword, this.Constraints); 12248public AllowsConstraintClauseSyntax WithConstraints(SeparatedSyntaxList<AllowsConstraintSyntax> constraints) => Update(this.AllowsKeyword, constraints); 12250public 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 &&