TypeDeclarationSyntax.WithConstraintClauses 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.
public:
Microsoft::CodeAnalysis::CSharp::Syntax::TypeDeclarationSyntax ^ WithConstraintClauses(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::TypeParameterConstraintClauseSyntax ^> constraintClauses);
public Microsoft.CodeAnalysis.CSharp.Syntax.TypeDeclarationSyntax WithConstraintClauses (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintClauseSyntax> constraintClauses);
member this.WithConstraintClauses : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintClauseSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.TypeDeclarationSyntax
Public Function WithConstraintClauses (constraintClauses As SyntaxList(Of TypeParameterConstraintClauseSyntax)) As TypeDeclarationSyntax
Parameters
- constraintClauses
- SyntaxList<TypeParameterConstraintClauseSyntax>
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.