Ejemplo n.º 1
0
 public virtual void VisitTypeConstraint(TypeConstraintSyntax node)
 {
     DefaultVisit(node);
 }
Ejemplo n.º 2
0
        public static TypeConstraintSyntax TypeConstraint(TypeSyntax type = null)
        {
            var result = new TypeConstraintSyntax();

            result.Type = type;

            return result;
        }
Ejemplo n.º 3
0
        public static TypeConstraintSyntax TypeConstraint(string type = null)
        {
            var result = new TypeConstraintSyntax();

            if (type != null)
                result.Type = ParseName(type);

            return result;
        }
Ejemplo n.º 4
0
 public virtual void VisitTypeConstraint(TypeConstraintSyntax node)
 {
     DefaultVisit(node);
 }