SyntaxFactory.AllowsConstraintClause Method    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| AllowsConstraintClause(SyntaxToken, SeparatedSyntaxList<AllowsConstraintSyntax>) | Creates a new AllowsConstraintClauseSyntax instance. | 
| AllowsConstraintClause(SeparatedSyntaxList<AllowsConstraintSyntax>) | Creates a new AllowsConstraintClauseSyntax instance. | 
AllowsConstraintClause(SyntaxToken, SeparatedSyntaxList<AllowsConstraintSyntax>)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new AllowsConstraintClauseSyntax instance.
public static Microsoft.CodeAnalysis.CSharp.Syntax.AllowsConstraintClauseSyntax AllowsConstraintClause(Microsoft.CodeAnalysis.SyntaxToken allowsKeyword, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AllowsConstraintSyntax> constraints);static member AllowsConstraintClause : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AllowsConstraintSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.AllowsConstraintClauseSyntaxPublic Shared Function AllowsConstraintClause (allowsKeyword As SyntaxToken, constraints As SeparatedSyntaxList(Of AllowsConstraintSyntax)) As AllowsConstraintClauseSyntaxParameters
- allowsKeyword
- SyntaxToken
- constraints
- SeparatedSyntaxList<AllowsConstraintSyntax>
Returns
Applies to
AllowsConstraintClause(SeparatedSyntaxList<AllowsConstraintSyntax>)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new AllowsConstraintClauseSyntax instance.
public static Microsoft.CodeAnalysis.CSharp.Syntax.AllowsConstraintClauseSyntax AllowsConstraintClause(Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AllowsConstraintSyntax> constraints = default);static member AllowsConstraintClause : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AllowsConstraintSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.AllowsConstraintClauseSyntaxPublic Shared Function AllowsConstraintClause (Optional constraints As SeparatedSyntaxList(Of AllowsConstraintSyntax) = Nothing) As AllowsConstraintClauseSyntaxParameters
- constraints
- SeparatedSyntaxList<AllowsConstraintSyntax>