public virtual void VisitBracketedArgumentList(BracketedArgumentListSyntax node)
 {
     DefaultVisit(node);
 }
Beispiel #2
0
        public static ElementAccessExpressionSyntax ElementAccessExpression(ExpressionSyntax expression = null, BracketedArgumentListSyntax argumentList = null)
        {
            var result = new ElementAccessExpressionSyntax();

            result.Expression = expression;
            result.ArgumentList = argumentList;

            return result;
        }
Beispiel #3
0
        public static BracketedArgumentListSyntax BracketedArgumentList(params ArgumentSyntax[] arguments)
        {
            var result = new BracketedArgumentListSyntax();

            if (arguments != null)
                result.Arguments.AddRange(arguments);

            return result;
        }
Beispiel #4
0
        public static BracketedArgumentListSyntax BracketedArgumentList(IEnumerable<ArgumentSyntax> arguments = null)
        {
            var result = new BracketedArgumentListSyntax();

            if (arguments != null)
                result.Arguments.AddRange(arguments);

            return result;
        }
Beispiel #5
0
        public static VariableDeclaratorSyntax VariableDeclarator(string identifier = null, BracketedArgumentListSyntax argumentList = null, EqualsValueClauseSyntax initializer = null)
        {
            var result = new VariableDeclaratorSyntax();

            result.Identifier = identifier;
            result.ArgumentList = argumentList;
            result.Initializer = initializer;

            return result;
        }
Beispiel #6
0
 public virtual void VisitBracketedArgumentList(BracketedArgumentListSyntax node)
 {
     DefaultVisit(node);
 }