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