private async Task RenameSymbol()
        {
            var host     = MainViewModel.RoslynHost;
            var document = host.GetDocument(DocumentId);
            var symbol   = await RenameHelper.GetRenameSymbol(document, _getSelection().Start).ConfigureAwait(true);

            if (symbol == null)
            {
                return;
            }

            var dialog = _serviceLocator.GetInstance <IRenameSymbolDialog>();

            dialog.Initialize(symbol.Name);
            dialog.Show();
            if (dialog.ShouldRename)
            {
                var newSolution = await Renamer.RenameSymbolAsync(document.Project.Solution, symbol, dialog.SymbolName, null).ConfigureAwait(true);

                var newDocument = newSolution.GetDocument(DocumentId);
                // TODO: possibly update entire solution
                host.UpdateDocument(newDocument);
            }
            OnEditorFocus();
        }