Skip to main content

GenericInfo.WithConstraintClauses(SyntaxList<TypeParameterConstraintClauseSyntax>) Method

Containing Type: GenericInfo

Assembly: Roslynator.CSharp.dll

Creates a new GenericInfo with the constraint clauses updated.

public Roslynator.CSharp.Syntax.GenericInfo WithConstraintClauses(Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintClauseSyntax> constraintClauses)

Parameters

constraintClauses SyntaxList<TypeParameterConstraintClauseSyntax>

Returns

GenericInfo