public CodeActionEdit GetEdit(CancellationToken cancellationToken = new CancellationToken())
                {
                    // Get the updated invocation.
                    var analyzer = AnalyzerFactory.GetMethodInvocationAnalyzer();
                    analyzer.SetMethodInvocation(invocation);
                    var updatedInvocation = analyzer.ReorderAuguments(mappings);

                    // Rewriting this node.
                    var rewriter = new SingleInvocationRewriter(invocation, updatedInvocation);
                    var newRoot = rewriter.Visit((SyntaxNode) document.GetSyntaxRoot());
                    return new CodeActionEdit(document.UpdateSyntaxRoot(newRoot));
                }
                public CodeActionEdit GetEdit(CancellationToken cancellationToken = new CancellationToken())
                {
                    // Get the updated invocation.
                    var analyzer = AnalyzerFactory.GetMethodInvocationAnalyzer();
                    analyzer.SetMethodInvocation(invocation);
                    var updatedInvocation = analyzer.ReorderAuguments(mappings);

                    // Rewriting this node.
                    var rewriter = new SingleInvocationRewriter(invocation, updatedInvocation);
                    var newRoot = rewriter.Visit((SyntaxNode) document.GetSyntaxRoot());
                    var updatedSolution = document.Project.Solution.UpdateDocument(document.Id, newRoot);
                    return new CodeActionEdit(null, updatedSolution, ConditionCheckersUtils.
                        GetRemoveCodeIssueComputerOperation(computer));
                }