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