public virtual void VisitAttributeList(AttributeListSyntax node)
 {
     DefaultVisit(node);
 }
示例#2
0
        public static AttributeListSyntax AttributeList(params AttributeSyntax[] attributes)
        {
            var result = new AttributeListSyntax();

            if (attributes != null)
                result.Attributes.AddRange(attributes);

            return result;
        }
示例#3
0
        public static AttributeListSyntax AttributeList(AttributeTarget target = default(AttributeTarget), IEnumerable<AttributeSyntax> attributes = null)
        {
            var result = new AttributeListSyntax();

            result.Target = target;
            if (attributes != null)
                result.Attributes.AddRange(attributes);

            return result;
        }
示例#4
0
        public static AttributeListSyntax AttributeList(IEnumerable<AttributeSyntax> attributes = null)
        {
            var result = new AttributeListSyntax();

            if (attributes != null)
                result.Attributes.AddRange(attributes);

            return result;
        }
示例#5
0
 public virtual void VisitAttributeList(AttributeListSyntax node)
 {
     DefaultVisit(node);
 }