public static TypeParameterConstraintClauseSyntax TypeParameterConstraintClause(string name = null, IEnumerable<TypeParameterConstraintSyntax> constraints = null) { var result = new TypeParameterConstraintClauseSyntax(); if (name != null) result.Name = (IdentifierNameSyntax)ParseName(name); if (constraints != null) result.Constraints.AddRange(constraints); return result; }
public virtual void VisitTypeParameterConstraintClause(TypeParameterConstraintClauseSyntax node) { DefaultVisit(node); }