1 type derived from AllowsConstraintSyntax
Microsoft.CodeAnalysis.CSharp (1)
_generated\2\Syntax.xml.Syntax.Generated.cs (1)
12176
public sealed partial class RefStructConstraintSyntax :
AllowsConstraintSyntax
8 references to AllowsConstraintSyntax
Microsoft.CodeAnalysis.CSharp (8)
_generated\0\Syntax.xml.Main.Generated.cs (2)
5385
public static AllowsConstraintClauseSyntax AllowsConstraintClause(SyntaxToken allowsKeyword, SeparatedSyntaxList<
AllowsConstraintSyntax
> constraints)
5392
public static AllowsConstraintClauseSyntax AllowsConstraintClause(SeparatedSyntaxList<
AllowsConstraintSyntax
> constraints = default)
_generated\2\Syntax.xml.Syntax.Generated.cs (5)
12126
public SeparatedSyntaxList<
AllowsConstraintSyntax
> Constraints
12131
return red != null ? new SeparatedSyntaxList<
AllowsConstraintSyntax
>(red, GetChildIndex(1)) : default;
12142
public AllowsConstraintClauseSyntax Update(SyntaxToken allowsKeyword, SeparatedSyntaxList<
AllowsConstraintSyntax
> constraints)
12155
public AllowsConstraintClauseSyntax WithConstraints(SeparatedSyntaxList<
AllowsConstraintSyntax
> constraints) => Update(this.AllowsKeyword, constraints);
12157
public AllowsConstraintClauseSyntax AddConstraints(params
AllowsConstraintSyntax
[] items) => WithConstraints(this.Constraints.AddRange(items));
Binder\Binder_Constraints.cs (1)
310
foreach (
var
allowsConstraint in ((AllowsConstraintClauseSyntax)syntax).Constraints)