7 references to Constraints
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Constraints.cs (1)
310foreach (var allowsConstraint in ((AllowsConstraintClauseSyntax)syntax).Constraints)
Syntax.xml.Main.Generated.cs (1)
2044=> node.Update(VisitToken(node.AllowsKeyword), VisitList(node.Constraints));
Syntax.xml.Syntax.Generated.cs (3)
11929if (allowsKeyword != this.AllowsKeyword || constraints != this.Constraints) 11939public AllowsConstraintClauseSyntax WithAllowsKeyword(SyntaxToken allowsKeyword) => Update(allowsKeyword, this.Constraints); 11942public AllowsConstraintClauseSyntax AddConstraints(params AllowsConstraintSyntax[] items) => WithConstraints(this.Constraints.AddRange(items));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
13366Assert.Equal(default, node.Constraints); 13367var newNode = node.WithAllowsKeyword(node.AllowsKeyword).WithConstraints(node.Constraints);