Esempio n. 1
0
        public static InvocationExpressionSyntax MkCSharpInvocationExpression(SyntaxNode first, params ExpressionSyntax[] pars)
        {
            var args = CSharpHelper.MkCSharpArgumentList(pars);

            return(SyntaxFactory.InvocationExpression((ExpressionSyntax)first)
                   .WithArgumentList(
                       SyntaxFactory.ArgumentList(
                           SyntaxFactory.SeparatedList <ArgumentSyntax>(args))));
        }