public virtual void VisitTypeParameter(TypeParameterSyntax node)
 {
     DefaultVisit(node);
 }
Example #2
0
        public static TypeParameterSyntax TypeParameter(IEnumerable<AttributeListSyntax> attributeLists = null, string identifier = null)
        {
            var result = new TypeParameterSyntax();

            if (attributeLists != null)
                result.AttributeLists.AddRange(attributeLists);
            result.Identifier = identifier;

            return result;
        }
Example #3
0
        public static TypeParameterSyntax TypeParameter(string identifier = null)
        {
            var result = new TypeParameterSyntax();

            result.Identifier = identifier;

            return result;
        }
Example #4
0
 public virtual void VisitTypeParameter(TypeParameterSyntax node)
 {
     DefaultVisit(node);
 }