Пример #1
0
 public virtual void VisitNameEquals(NameEqualsSyntax node)
 {
     DefaultVisit(node);
 }
Пример #2
0
        public static UsingDirectiveSyntax UsingDirective(NameEqualsSyntax alias = null, string name = null)
        {
            var result = new UsingDirectiveSyntax();

            result.Alias = alias;
            if (name != null)
                result.Name = (NameSyntax)ParseName(name);

            return result;
        }
Пример #3
0
        public static AttributeArgumentSyntax AttributeArgument(NameEqualsSyntax nameEquals = null, NameColonSyntax nameColon = null, ExpressionSyntax expression = null)
        {
            var result = new AttributeArgumentSyntax();

            result.NameEquals = nameEquals;
            result.NameColon = nameColon;
            result.Expression = expression;

            return result;
        }
Пример #4
0
        public static UsingDirectiveSyntax UsingDirective(NameEqualsSyntax alias = null, NameSyntax name = null)
        {
            var result = new UsingDirectiveSyntax();

            result.Alias = alias;
            result.Name = name;

            return result;
        }
Пример #5
0
        public static NameEqualsSyntax NameEquals(string name = null)
        {
            var result = new NameEqualsSyntax();

            if (name != null)
                result.Name = (IdentifierNameSyntax)ParseName(name);

            return result;
        }
Пример #6
0
        public static NameEqualsSyntax NameEquals(IdentifierNameSyntax name = null)
        {
            var result = new NameEqualsSyntax();

            result.Name = name;

            return result;
        }
Пример #7
0
        public static AnonymousObjectMemberDeclaratorSyntax AnonymousObjectMemberDeclarator(NameEqualsSyntax nameEquals = null, ExpressionSyntax expression = null)
        {
            var result = new AnonymousObjectMemberDeclaratorSyntax();

            result.NameEquals = nameEquals;
            result.Expression = expression;

            return result;
        }
Пример #8
0
 public virtual void VisitNameEquals(NameEqualsSyntax node)
 {
     DefaultVisit(node);
 }