Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
 public virtual void VisitTypeParameterConstraintClause(TypeParameterConstraintClauseSyntax node)
 {
     DefaultVisit(node);
 }
Exemplo n.º 3
0
 public virtual void VisitTypeParameterConstraintClause(TypeParameterConstraintClauseSyntax node)
 {
     DefaultVisit(node);
 }